Skip to content
Open
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
7 changes: 3 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,8 @@ platform:
os: linux
arch: amd64

#depends_on:
# - testing-amd64
# - testing-arm64
depends_on:
- compliance

trigger:
event:
Expand Down Expand Up @@ -561,7 +560,7 @@ steps:
TAGS: bindata
USE_REPO_TEST_DIR: 1
NO_DEPS_PLAYWRIGHT: 1
TEST_LOGGER: console,file # Debug
TEST_LOGGER: file
TEST_PGSQL_DBNAME: 'testgitea-e2e'
NPX_FLAGS: '--yes'
depends_on: [deps-backend, deps-frontend]
Expand Down
4 changes: 1 addition & 3 deletions tools/e2e/tests/example.test.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,5 @@ test('Test Register Form', async ({page}, workerInfo) => {
await page.click('form button.ui.green.button:visible');
// Make sure we routed to the home page. Else login failed.
await expect(page.url()).toBe(`${workerInfo.project.use.baseURL}/`);
// Uncomment to see visual testing
//await expect(page).toHaveScreenshot({ timeout: 20000, mask: [page.locator('footer div.ui.left')] });
//await page.screenshot({ path: `tools/e2e/screenshots/${workerInfo.title}-${workerInfo.project.name}.png` });
await expect(page).toHaveScreenshot({ timeout: 20000, mask: [page.locator('footer div.ui.left')] });
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.