diff --git a/e2e_tests/test_compare_submissions.py b/e2e_tests/test_compare_submissions.py index e280ec240..e6c940095 100644 --- a/e2e_tests/test_compare_submissions.py +++ b/e2e_tests/test_compare_submissions.py @@ -63,7 +63,7 @@ def assert_line(filename: str, line_number: int, text: str, color: str): page.get_by_placeholder("Staff feedback").fill(ASSISTANT_FEEDBACK_TEXT) page.get_by_role("button", name="Grader feedback").click() page.get_by_placeholder("Grader feedback").fill(FEEDBACK_TEXT) - page.get_by_label("Points").fill(POINTS) + page.get_by_placeholder("Points").fill(POINTS) page.get_by_role("button", name="Submit").click() expect(page.locator('.site-message')).to_contain_text( "The review was saved successfully and the submitters were notified.") diff --git a/e2e_tests/test_points_goal_set.py b/e2e_tests/test_points_goal_set.py index 6577414c7..43f30f1c4 100644 --- a/e2e_tests/test_points_goal_set.py +++ b/e2e_tests/test_points_goal_set.py @@ -39,6 +39,6 @@ def test_points_goal_reached(page: Page) -> None: page.get_by_role("button", name="Save").click() expect(page.locator("#success-alert")).to_contain_text("Succesfully set personalized points goal") page.get_by_role("button", name="Close", exact=True).click() - progress_bar_locator = page.locator("#progress-questionnaires > .progress > .aplus-progress-bar") + progress_bar_locator = page.locator("#progress-questionnaires .progress > .aplus-progress-bar") expect(progress_bar_locator).\ to_have_class("aplus-progress-bar aplus-progress-bar-striped aplus-progress-bar-primary")