Skip to content

Commit

Permalink
Revert "Temporary remove HDS and comment out code that uses it"
Browse files Browse the repository at this point in the history
Add HDS back now that the React v18 upgrade issues are fixed.
  • Loading branch information
japauliina authored and mhieta committed Nov 27, 2024
1 parent df66b54 commit b55bfb5
Show file tree
Hide file tree
Showing 5 changed files with 1,127 additions and 100 deletions.
9 changes: 4 additions & 5 deletions browserTests/utility/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ export const getBaseUrl = () => `http://${config.server.address}:${config.server

export const acceptCookieConcent = async (t) => {
if (t) {
return;
// const cookieConsentApproveButton = Selector('button[data-testid="cookie-consent-approve-button"]');
// await t
// .expect(cookieConsentApproveButton.exists).ok('Cookie consent approve button should exist')
// .click(cookieConsentApproveButton);
const cookieConsentApproveButton = Selector('button[data-testid="cookie-consent-approve-button"]');
await t
.expect(cookieConsentApproveButton.exists).ok('Cookie consent approve button should exist')
.click(cookieConsentApproveButton);
}
}
Loading

0 comments on commit b55bfb5

Please sign in to comment.