Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Sep 22, 2023
1 parent 7a8ff87 commit a1e3268
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions system-tests/src/tests/quizzes/create-and-save-quizzes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ const createMultipleChoice = async (frame: Locator) => {
await frame.getByLabel("Title", { exact: true }).fill("multiple-choice-exercise")
await frame.getByLabel("Option title", { exact: true }).click()
await frame.getByLabel("Option title", { exact: true }).fill("option 1")
await frame.getByRole("textbox", { name: "Success messagefalse" }).click()
await frame.getByRole("textbox", { name: "Success messagefalse" }).fill("success message")
await frame.getByRole("textbox", { name: "Message after submission when selected" }).click()
await frame
.getByRole("textbox", { name: "Message after submission when selected" })
.fill("success message")
await frame.getByLabel("Correct").check()
await frame.getByRole("button", { name: "Add option" }).click()
await frame.getByLabel("Option title", { exact: true }).click()
Expand Down Expand Up @@ -160,8 +162,10 @@ const createMultipleChoiceDropdown = async (frame: Locator) => {
await frame.getByLabel("Option title", { exact: true }).click()
await frame.getByLabel("Option title", { exact: true }).fill("option 1")
await frame.getByLabel("Correct").check()
await frame.getByRole("textbox", { name: "Success messagefalse" }).click()
await frame.getByRole("textbox", { name: "Success messagefalse" }).fill("success message")
await frame.getByRole("textbox", { name: "Message after submission when selected" }).click()
await frame
.getByRole("textbox", { name: "Message after submission when selected" })
.fill("success message")
await frame.getByRole("button", { name: "Add option" }).click()
await frame.getByLabel("Option title", { exact: true }).click()
await frame.getByLabel("Option title", { exact: true }).fill("option 2")
Expand Down

0 comments on commit a1e3268

Please sign in to comment.