mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #989] Selenium tests are broken after bootstrap upgrade #531
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#531
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kroky on GitHub (Apr 30, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/989
Originally assigned to: @Shadow243 on GitHub.
🐛 Bugreport
I have fixed the broken part coming from .env changes but still a lot of tests fail due to missing class name or changes html structure.
@alvinBM @Shadow243 please check these tests and fix them by targeting new css classes or just adding what is missing in the actual cypht code. I think some tests are actually showing bugs in Cypht rather than bugs in the tests themselves.
Version & Environment
master and 2.0.x branch
Steps to reproduce
python3 login.py@Shadow243 commented on GitHub (May 1, 2024):
It seems that there is deprecation of certain attributes like:
https://aleshativadar.medium.com/attributeerror-webdriver-object-has-no-attribute-find-element-by-name-e7cf3b271227#:~:text=To%20sum%20up%2C%20%E2%80%9CAttributeError%3A,and%20removed%20starting%20Selenium%204.3.
I'l try to update using find_element.
@Shadow243 commented on GitHub (May 1, 2024):
@kroky commented on GitHub (May 2, 2024):
Sure, upgrade what is needed!
@Shadow243 commented on GitHub (May 6, 2024):
@kroky the MR is ready here https://github.com/cypht-org/cypht/pull/998