Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Strange regexp for step openPage #109

Open
PavelAlennikov opened this issue Feb 28, 2018 · 1 comment
Open

Strange regexp for step openPage #109

PavelAlennikov opened this issue Feb 28, 2018 · 1 comment

Comments

@PavelAlennikov
Copy link
Contributor

ru.sbtqa.tag.pagefactory.openPage=^(?:пользователь |он |)(?:находится на странице|открывается страница|открывается вкладка мастера) "([^\"]*)"$

This regexp matches to strange step like this: пользователь|он открывается страница ...

@kosteman
Copy link
Contributor

Yes, you're right. But you can spell a "пользователь находится на странице "([^"]*)"" step.
You can make it more accurate by pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants