Skip to content

test files for Venue category of gatherpress #926

test files for Venue category of gatherpress

test files for Venue category of gatherpress #926

Triggered via pull request December 7, 2023 13:19
Status Failure
Total duration 51s
Artifacts

coding-standards.yml

on: pull_request
PHP Coding Standards
18s
PHP Coding Standards
JavaScript Coding Standards
42s
JavaScript Coding Standards
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
JavaScript Coding Standards: test/e2e/admin-tests/gatherpress-admin-venue.spec.js#L1
Replace `"@playwright/test"` with `'@playwright/test'`
JavaScript Coding Standards: test/e2e/admin-tests/gatherpress-admin-venue.spec.js#L2
Replace `"../reusable-user-steps/common.js"` with `'../reusable-user-steps/common.js'`
JavaScript Coding Standards: test/e2e/admin-tests/gatherpress-admin-venue.spec.js#L4
Replace `"·Validate·test·for·admin·side·venue·test"` with `'·Validate·test·for·admin·side·venue·test'`
JavaScript Coding Standards: test/e2e/admin-tests/gatherpress-admin-venue.spec.js#L8
Replace `"networkidle"` with `'networkidle'`
JavaScript Coding Standards: test/e2e/admin-tests/gatherpress-admin-venue.spec.js#L11
Replace `⏎↹test("The·admin·should·create·a·new·post·for·Venue",async({page})=>{⏎` with `test('The·admin·should·create·a·new·post·for·Venue',·async·({·page·})·=>·{`
JavaScript Coding Standards: test/e2e/admin-tests/gatherpress-admin-venue.spec.js#L19
Replace `path:·"vanue-page.png"` with `·path:·'vanue-page.png'·`
JavaScript Coding Standards: test/e2e/admin-tests/gatherpress-admin-venue.spec.js#L21
Replace `.locator('#wpbody-content').getByRole('link',·{·name:·'Add·New'·})` with `⏎↹↹↹.locator('#wpbody-content')⏎↹↹↹.getByRole('link',·{·name:·'Add·New'·})⏎↹↹↹`
JavaScript Coding Standards: test/e2e/admin-tests/gatherpress-admin-venue.spec.js#L24
Replace `path:"new-venue.png"})` with `·path:·'new-venue.png'·});`
PHP Coding Standards
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Coding Standards
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
JavaScript Coding Standards
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/