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

Autotests: Replace all inproper monomer locators with getMonomerLocator hepler function #6309

Open
AlexeyGirin opened this issue Jan 17, 2025 · 0 comments
Labels
Autotests refactor Code refactoring, without changing the functionality
Milestone

Comments

@AlexeyGirin
Copy link
Collaborator

Replace all improper monomer locators that usually looks like:
await page.getByText('SMCC').locator('..').first().click();
await page.getByText('1Nal').locator('..').first().click();
await page.getByText('F1').locator('..');
and similar (HINT: such locators usually has .locator('..') and monomer name in getByText)

with getMonomerLocator hepler function

@AlexeyGirin AlexeyGirin added Autotests refactor Code refactoring, without changing the functionality labels Jan 17, 2025
@AlexeyGirin AlexeyGirin added this to the Autotests milestone Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Autotests refactor Code refactoring, without changing the functionality
Projects
None yet
Development

No branches or pull requests

1 participant