Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add UI testing and client explorer #1943

Closed
wants to merge 42 commits into from

Conversation

mhost39
Copy link
Contributor

@mhost39 mhost39 commented Dec 24, 2020

Related Issues

#1942

@mhost39 mhost39 changed the title add settings UI tests add UI testing and client explorer Jan 11, 2021
Copy link
Collaborator

@AhmedHanafy725 AhmedHanafy725 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please generate the docs of these tests

tests/clients/explorer/test_explorer.py Outdated Show resolved Hide resolved
tests/clients/explorer/test_explorer.py Outdated Show resolved Hide resolved
tests/clients/explorer/test_explorer.py Outdated Show resolved Hide resolved
tests/frontend/pages/settings/settings.py Outdated Show resolved Hide resolved
tests/frontend/pages/settings/settings.py Outdated Show resolved Hide resolved
tests/frontend/tests/test_threebot_deployer.py Outdated Show resolved Hide resolved
tests/frontend/tests/test_threebot_deployer.py Outdated Show resolved Hide resolved
tests/frontend/tests/test_threebot_deployer.py Outdated Show resolved Hide resolved
tests/frontend/tests/test_threebot_deployer.py Outdated Show resolved Hide resolved
tests/frontend/tests/test_workloads.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@AhmedHanafy725 AhmedHanafy725 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a screenshot for running these tests

if not cls.wallet_secret:
raise Exception("Please add WALLET_SECRET as environment variables")

j.clients.stellar.get(cls.wallet_name, network="STD", secret=cls.wallet_secret)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please get the wallet then change the secret as we do in vdc tests https://github.com/threefoldtech/js-sdk/blob/development/tests/sals/vdc/vdc_base.py#L37

from jumpscale.loader import j
from random import randint
from tests.frontend.tests.base_tests import BaseTest
from tests.frontend.pages.wallets.wallets import Wallets
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed?

@mhost39
Copy link
Contributor Author

mhost39 commented Mar 1, 2021

settings:
image

explorer:
image

workloads:
image

Copy link
Collaborator

@AhmedHanafy725 AhmedHanafy725 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve the conflict in this branch,

admins = settings.list("Admins")
self.assertNotIn(admin, admins.keys())

@pytest.mark.skip("can't get inputs name")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please open an issue and skip it with the issue link to be tracked.

@mhost39 mhost39 marked this pull request as draft March 15, 2021 20:29
@xmonader xmonader closed this Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants