Skip to content

Commit

Permalink
Update saveButton element to fix frontend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LianaHarris360 committed Nov 16, 2022
1 parent ebcc791 commit 83a5429
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ async function makeWrapper() {

function getButtons(wrapper) {
const radioButtons = wrapper.findAllComponents({ name: 'KRadioButton' });
const saveButton = wrapper.findComponent({ name: 'KButton' });
const kButtons = wrapper.findAllComponents({ name: 'KButton' });
return {
learnPage: radioButtons.at(0),
signInPage: radioButtons.at(1),
allowGuestAccess: radioButtons.at(2),
disallowGuestAccess: radioButtons.at(3),
lockedContent: radioButtons.at(4),
saveButton,
saveButton: kButtons.at(1),
};
}

Expand Down

0 comments on commit 83a5429

Please sign in to comment.