Skip to content

Commit

Permalink
Fix: [Cookie banner] Accept selection -> Save settings
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Feb 1, 2024
1 parent ee5cce6 commit c47e6bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cypress/e2e/pages/address_book.page.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const acceptSelection = 'Accept selection'
export const acceptSelection = 'Save settings'
export const addressBook = 'Address book'
const createEntryBtn = 'Create entry'

Expand All @@ -12,7 +12,6 @@ export const editEntryBtn = 'button[aria-label="Edit entry"]'
export const deleteEntryBtn = 'button[aria-label="Delete entry"]'
export const deleteEntryModalBtnSection = '.MuiDialogActions-root'
export const delteEntryModaldeleteBtn = 'Delete'
const exportFileModalExportBtn = 'Export'
const importBtn = 'Import'
const exportBtn = 'Export'
const exportModalBtn = '[data-testid="export-modal-btn"]'
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/pages/main.page.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as constants from '../../support/constants'

const acceptSelection = 'Accept selection'
const acceptSelection = 'Save settings'
const executeStr = 'Execute'
export const modalDialogCloseBtn = '[data-testid="modal-dialog-close-btn"]'

Expand Down
2 changes: 1 addition & 1 deletion src/components/common/CookieBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const CookieBanner = ({
<Grid item>
<Typography>
<Button onClick={handleAccept} variant="text" size="small" color="inherit" disableElevation>
Accept selection
Save settings
</Button>
</Typography>
</Grid>
Expand Down

1 comment on commit c47e6bb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 78.83% 11284/14314
🔴 Branches 56.62% 2506/4426
🟡 Functions 63.11% 1796/2846
🟢 Lines 80.18% 10177/12692

Test suite run success

1384 tests passing in 186 suites.

Report generated by 🧪jest coverage report action from c47e6bb

Please sign in to comment.