Skip to content

Commit

Permalink
Fix second instance of broken test case
Browse files Browse the repository at this point in the history
  • Loading branch information
donnapep committed Nov 27, 2024
1 parent 0d858bb commit eafe352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e-playwright/pages/admin/courses/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default class CoursesPage extends PostType {
this.wizardModal = new WizardModal( wizardLocator );

this.createCourseButton = page.locator(
'a.page-title-action[href$="post-new.php?post_type=course"]:has-text("New Course")'
'a.page-title-action[href$="post-new.php?post_type=course"]:has-text("New Course"):visible'
);

this.courseOutlineBlock = new CourseOutline( page );
Expand Down

0 comments on commit eafe352

Please sign in to comment.