We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6335ad3 commit feb9cd4Copy full SHA for feb9cd4
tests/e2e/tutorials/tutorialBase.js
@@ -47,6 +47,21 @@ class TutorialBase {
47
await utils.takeScreenshot(this.__page, this.__templateName + "_landingPage_" + domain);
48
}
49
50
+ async openStudyLink() {
51
+ this.__responsesQueue.addResponseListener("open");
52
+
53
+ await this.goTo();
54
55
+ let resp = null;
56
+ try {
57
+ resp = await this.__responsesQueue.waitUntilResponse("open");
58
+ }
59
+ catch(err) {
60
+ console.error(this.__templateName, "could not be started", err);
61
62
+ return resp;
63
64
65
async registerIfNeeded() {
66
if (this.__newUser) {
67
await auto.register(this.__page, this.__user, this.__pass);
0 commit comments