Skip to content

🐞 [Bug]: Fix selenium tests due to changes done in rewrite profile manager dialog #4042

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

Closed
1 task done
ramezsaeed opened this issue Apr 13, 2025 · 11 comments
Closed
1 task done
Assignees
Labels
type_bug Something isn't working
Milestone

Comments

@ramezsaeed
Copy link
Contributor

ramezsaeed commented Apr 13, 2025

Is there an existing issue for this?

  • I have searched the existing issues

which package/s did you face the problem with?

Dashboard

What happened?

Regarding the changes done here:

I can see the selenium workflow for automated tests is failing:

Steps To Reproduce

please when fix make sure its running on all networks.

which network/s did you face the problem on?

Dev

version

2b5dc5a

Twin ID/s

No response

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant screenshots/screen records

Image

Relevant log output

EX.:

FAILED tests/TFChain/test_twin.py::test_edit_twin_email - selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: ***"method":"xpath","selector":"//button[.//span[text()='Connect']]"***
  (Session info: chrome=135.0.7049.52); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
#0 0x555fdbc1ae6a <unknown>
#1 0x555fdb6cc640 <unknown>
#2 0x555fdb71db5a <unknown>
#3 0x555fdb71dd51 <unknown>
#4 0x555fdb76c344 <unknown>
#5 0x555fdb74377d <unknown>
#6 0x555fdb7697b5 <unknown>
#7 0x555fdb743523 <unknown>
#8 0x555fdb70fef3 <unknown>
#9 0x555fdb710b51 <unknown>
#10 0x555fdbbdfd2b <unknown>
#11 0x555fdbbe3c01 <unknown>
#12 0x555fdbbc7512 <unknown>
#13 0x555fdbbe4774 <unknown>
#14 0x555fdbbab90f <unknown>
#15 0x555fdbc08fb8 <unknown>
#16 0x555fdbc09196 <unknown>
#17 0x555fdbc19cb6 <unknown>
#18 0x7f32d2e9caa4 <unknown>
#19 0x7f32d2f29c3c <unknown>
FAILED tests/TFChain/test_twin.py::test_get_tft - selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: ***"method":"xpath","selector":"//button[.//span[text()='Connect']]"***
@ramezsaeed ramezsaeed added the type_bug Something isn't working label Apr 13, 2025
@ramezsaeed ramezsaeed added this to 3.17 Apr 15, 2025
@ramezsaeed ramezsaeed moved this to Accepted in 3.17 Apr 15, 2025
@ramezsaeed ramezsaeed added this to the 2.8.0 milestone Apr 15, 2025
@ramezsaeed ramezsaeed moved this from Accepted to Pending Review in 3.17 Apr 29, 2025
@ramezsaeed ramezsaeed moved this from Pending Review to In Progress in 3.17 Apr 29, 2025
@ramezsaeed
Copy link
Contributor Author

WIP:

  • fix connect button selector

@ramezsaeed
Copy link
Contributor Author

ramezsaeed commented May 5, 2025

WIP:

  • fix logout function
  • fix test_create_account
  • update some selectors to use the new element ID provided
  • fix accept terms and condition function

22ee8b2

@ramezsaeed
Copy link
Contributor Author

WIP:

  • refactor login functionality
  • update home page tests
  • fix connect_your_wallet
  • fix wait function (wait_for)

@ramezsaeed
Copy link
Contributor Author

Image

Image

Image

@ramezsaeed
Copy link
Contributor Author

WIP:

  • fix bridge tests
  • remove skipped and update tests
  • fix twin page tests

3e29ea0

@ramezsaeed
Copy link
Contributor Author

@ramezsaeed
Copy link
Contributor Author

  • fix tests/Farms/test_farm.py::test_ip PASSED due to the new change in farm ip table "network"
  • fix the network name to be used as lower case in all tests
  • fix ip drop down xpath to use range IP

a4d0514

@ramezsaeed
Copy link
Contributor Author

ramezsaeed commented May 12, 2025

Work Done:

  • fix farm details function
  • fix range_ip, and farm details tests
  • Fix stats url for local setup

3cad985

Image

@ramezsaeed ramezsaeed moved this from In Progress to Pending Review in 3.17 May 12, 2025
@ramezsaeed
Copy link
Contributor Author

@ramezsaeed
Copy link
Contributor Author

@ramezsaeed
Copy link
Contributor Author

@ramezsaeed ramezsaeed moved this from Pending Review to In Verification in 3.17 May 14, 2025
@github-project-automation github-project-automation bot moved this from In Verification to Done in 3.17 May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type_bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant