【发布时间】:2022-12-01 15:21:18
【问题描述】:
+ expected - actual
-sign.up
+Sign up now
Im having this issue while asserting a text. It works if I add a wait delay before. Even though Im using visibilityCheck:true on this selector, it won't wait.
Is there something I can do to avoid manually adding waits?
test("Loads the app in english by default", async (t) => {
await t.wait(20000);
const signupText = await signUpPage.signupLink.with({
visibilityCheck: true,
})();
await t.expect(signupText.textContent).eql("Sign up now ");
});
【问题讨论】:
标签: internationalization e2e-testing testcafe