Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the progress v2 validated level eyes test #58701

Merged
merged 4 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/src/templates/UnitSelectorV2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function UnitSelectorV2({
isLabelVisible={false}
size="s"
dropdownTextThickness="thin"
id="unit-selector-v2"
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Scenario: Teacher can view choice levels
And I see no difference for "unexpanded choice level - closed"

# The test requires java-lab which does not run on correctly on drone
@eyes @no_circle @skip
@eyes @no_circle
Scenario: Teacher can view validated level
And I open my eyes to test "V2 Progress - Validated Levels"

Expand Down Expand Up @@ -228,8 +228,13 @@ Scenario: Teacher can view validated level
And I get levelbuilder access
And I navigate to the V2 progress dashboard for "New Section"

# Navigate to the right course on the progress page
And I wait until element "#unit-selector-v2" is visible
And I click selector "#unit-selector-v2"
And I click selector "option:contains(All the Things!)"

# eyes test for unexpanded lessons
And I wait to see "#ui-test-lesson-header-1"
And I wait until element "#ui-test-lesson-header-1" is visible
And I scroll to "#ui-test-lesson-header-44"
And I see no difference for "unexpanded lessons"

Expand Down