-
Notifications
You must be signed in to change notification settings - Fork 294
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
Development
: Fix and re-enable exam mode e2e tests
#8946
Conversation
WalkthroughThe modifications involve several refinements and consistency improvements to the exam handling and exercise navigation processes in an end-to-end testing scenario. Changes include shifting from index-based to title-based exercise opening, updating URL navigation patterns, enhancing timing validations, and streamlining navigation flows within exams. These updates aim to improve the robustness and readability of the test scripts, ensuring more precise interactions and verifications for exam-related functionalities. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CoursePage
participant ExamPage
participant Exercise
User ->> CoursePage: Open Exams Tab
CoursePage ->> ExamPage: Open Exam by Title
ExamPage ->> Exercise: Open First Exercise by Title
User ->> Exercise: Submit & Save Exercise
Exercise ->> ExamPage: Indicate Exercise Saved
ExamPage ->> ExamPage: Handle Timing Validations
User ->> Exercise: Open Another Exercise by Title
Tip AI model upgrade
|
General
: fix and re-enable exam mode e2e testsGeneral
: Fix and re-enable exam mode e2e tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 24
src/test/playwright/support/pageobjects/exam/ExamParticipationPage.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally a lot of exam tests seam to fail: https://bamboo.ase.in.tum.de/browse/ARTEMIS-AEPTMA585-2/test
Is this related to this PR?
0ad0e36
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 10
src/test/playwright/support/pageobjects/exercises/text/TextEditorPage.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
Yea some tests were not fixed yet at that point |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 9
General
: Fix and re-enable exam mode e2e testsDevelopment
: Fix and re-enable exam mode e2e tests
Checklist
General
Motivation and Context
The exam mode e2e tests are broken, as a new UI was introduced.
Description
This PR fixes the outdated exam mode e2e tests.
Steps for Testing
Prerequisites:
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Code Review
Manual Tests (check out the test logs below)
Test Coverage
Screenshots
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Chores
testIgnore
configuration for exam tests in Playwright configuration.