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

UL-1006: Add tutorial automation test #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

UL-1006: Add tutorial automation test #19

wants to merge 2 commits into from

Conversation

tnguyenquy
Copy link
Contributor

No description provided.

@@ -52,23 +52,23 @@ public void register() {

public void otp() {
Browser.fluentWait((WebDriver d) -> d.findElement(By.cssSelector("input[type=tel]"))).sendKeys("455148");
/* Verify otp right away after code is entered
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because after code is entered, it verifies right away, there is no button to click.


@Test
@Order(7)
@Order(80)
Copy link
Contributor

Choose a reason for hiding this comment

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

why is order changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so we can add more tests in without changing everything all the order numbers.

evaluator.close();

// Make sure event is received
Browser.sleep(1);
Copy link
Contributor

Choose a reason for hiding this comment

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

perhaps sleep for more like 5 seconds?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we call close(), it flushes events, so 1 second is probably enough, I will make it 3.

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.

2 participants