Skip to content

Commit

Permalink
Switching back to link click (it's not a button).
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhogg committed Jan 14, 2025
1 parent 4a55b09 commit ff4fe86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/e2e/tests/page-restrictions/course.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
import {
createURL,
loginUser,
clickButton,
} from '@wordpress/e2e-test-utils';

describe( 'CourseRestrictions', () => {
Expand All @@ -21,7 +20,7 @@ describe( 'CourseRestrictions', () => {
beforeAll( async () => {

await importCourse( 'import-with-restrictions.json' );
await clickButton( 'Launch Course Builder' );
await clickAndWait( '.llms-builder-launcher a.llms-button-primary' );

course = await page.evaluate( () => window.llms_builder.course );
lessons = course.sections[0].lessons;
Expand Down

0 comments on commit ff4fe86

Please sign in to comment.