Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
becky-gilbert committed Apr 18, 2024
1 parent 44fdab4 commit fc3fbdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-survey/src/index.spec.ts
Expand Up @@ -56,7 +56,7 @@ describe("survey plugin", () => {
await expectRunning();

const complete_button = displayElement.querySelector(
'input[type="button"].sd-navigation__complete-btn'
'input[type="button"].jspsych-nav-complete'
);
expect(complete_button).not.toBeNull();
clickTarget(complete_button);
Expand Down Expand Up @@ -101,7 +101,7 @@ describe("survey plugin", () => {
expect(displayElement.querySelector('div[data-name="question_2"]')).not.toBeNull();

const complete_button = displayElement.querySelector(
'input[type="button"].sd-navigation__complete-btn'
'input[type="button"].jspsych-nav-complete'
);
expect(complete_button).not.toBeNull();
clickTarget(complete_button);
Expand Down

0 comments on commit fc3fbdf

Please sign in to comment.