Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.2.3 #1045

Merged
merged 14 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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