Skip to content

Commit

Permalink
Undoing debugging. Looks like it's flaky but works.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhogg committed Jan 27, 2025
1 parent 9839c1d commit 0a1b5a2
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 @@ -23,7 +23,6 @@ describe( 'CourseRestrictions', () => {
await clickAndWait( '.llms-builder-launcher a.llms-button-primary' );

course = await page.evaluate( () => window.llms_builder.course );
console.log("COURSE OBJECT in BEFOREALL", course);

lessons = course.sections[0].lessons;

Expand All @@ -38,7 +37,7 @@ describe( 'CourseRestrictions', () => {
} );

it ( 'should see enrolled user content on the course page', async () => {
console.log("COURSE OBJECT", course);

await page.goto( course.permalink );
expect( await page.$eval( '.entry-content #enrolled-user-content', el => el.textContent ) ).toBe( 'Enrolled user content.' );

Expand Down

0 comments on commit 0a1b5a2

Please sign in to comment.