Skip to content

Commit

Permalink
Release v4.2.3 (#1045)
Browse files Browse the repository at this point in the history
Merging 4.2.3 to master
  • Loading branch information
ghazal-salehi authored Aug 3, 2023
1 parent e5a18e9 commit 82f8eb6
Show file tree
Hide file tree
Showing 23 changed files with 550 additions and 223 deletions.
2 changes: 1 addition & 1 deletion e2e/__tests__/components/funnelback-search-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('SWE Header testing', () => {
await page.waitForTimeout(ct.WT);
expect(
await page.$$eval('.qg-search-concierge-content li button', nodes => nodes.map(n => n.textContent)),
).toEqual(['jobs in qld government', 'jobs', 'jobs in the queensland government']);
).toEqual(['jobs in queensland government', 'government jobs', 'jobs volunteers']);
});

afterAll(async () => {
Expand Down
8 changes: 6 additions & 2 deletions e2e/__tests__/layout/footer-feedback-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ beforeAll(async () => {

describe('SWE Footer testing', () => {
test('Footer feedback', async () => {

await page.click('.qg-feedback-toggle');

// check getRecaptcha input value is populated as expected and is false by default
await page.waitForTimeout(ct.WT);
const getRecaptcha = await page.$eval('input[name=g-recaptcha-response]', el => $(el).val());
expect(getRecaptcha).toMatch(/false/);
await page.click('#page-feedback-about-this-website');
await page.click('#fs-very-satisfied');

await page.click('label[for="page-feedback-about-this-website"]');
await page.click('label[for="fs-very-satisfied"]');
await page.type('#comments', 'Useful website', { delay: 20 });

// this test case causing massive fail in circleci, which have issue when submitting a real form with remote api, disabled this test for now.
// as we are moving out from circleci, Github Actions pipeline doesn't has this issues
/*
Expand Down
Loading

0 comments on commit 82f8eb6

Please sign in to comment.