Skip to content

Commit

Permalink
fix the comments in the test description
Browse files Browse the repository at this point in the history
  • Loading branch information
jellizaveta committed Aug 16, 2024
1 parent 322da59 commit cee72ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/scriptlets/trusted-click-element.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ afterEach(() => {
jest.clearAllMocks();
});

describe('Test trusted-set-cookie-reload scriptlet', () => {
describe('Test trusted-click-element scriptlet - reload option', () => {
const sourceParams = {
sourceParams: 'trusted-click-element',
verbose: true,
};

test('Element already in DOM is clicked with reloadOnFinalClick', (done) => {
test('Single element clicked', (done) => {
const ELEM_COUNT = 1;
const panel = createPanel();
const clickable = createClickable(1);
Expand All @@ -84,7 +84,7 @@ describe('Test trusted-set-cookie-reload scriptlet', () => {
}, 600);
});

test('Multiple elements are clicked with reloadOnFinalClick', (done) => {
test('Multiple elements clicked', (done) => {
const CLICK_ORDER = [1, 2, 3];
const panel = createPanel();
const clickables = CLICK_ORDER.map((number) => {
Expand Down

0 comments on commit cee72ee

Please sign in to comment.