Skip to content

Commit

Permalink
Increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
Heliozoa committed Dec 12, 2023
1 parent c61f7cd commit d1b7d3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions playwright/pages/course.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export class CoursePage extends TmcPage {

async showExercises(): Promise<void> {
await this.webview.getByRole("button", { name: "Show exercises" }).click();
// the exercises may take a moment to appear?
await this.page.waitForTimeout(100);
// the exercises may take a moment to appear...
await this.page.waitForTimeout(400);
}

async openExercises(names: string[]): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion playwright/pages/my-courses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class MyCoursesPage extends TmcPage {
const selectOrganization = new SelectOrganization(this.page, this.webview);
await selectOrganization.select("Test Organization (test)");
// wait for the organization selection page to close
await this.page.waitForTimeout(100);
await this.page.waitForTimeout(200);

const selectCourse = new SelectCourse(this.page, this.webview);
await selectCourse.select(name);
Expand Down

0 comments on commit d1b7d3b

Please sign in to comment.