v9: Fix tests on Linux (#11586)
* downgraded cypress, updated package * Fixed language test * Fix language test * Fixed routing tests to wait for popup * Publish test artifacts * Added better element to wait on * Fix routing tests for linux * Fix language tests on linux * Stablize tabs tests * Implement waiting for inner tree like in content tests * Assert that we are in settings section so we dont click an element that doesnt exist * Fixed rollback by not doing cy.reload() * Fix language test with correct wait * Stabilize dataTypes by moving API Call, and stabilize systemInformation.ts test by waiting for success notification * Fix dataTypes, tabs and template tests * Update node to newer version in package-lock.json and fix template test * Implemented cy.wait to test if it is because we are too fast * Added comments * Bigger wait * Try another wait instead of magic numbers Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
This commit is contained in:
committed by
Bjarke Berg
parent
169fc7c12f
commit
32d8e0bb96
@@ -259,7 +259,6 @@ stages:
|
||||
# customCommand: 'run test -- --config="viewportHeight=812,viewportWidth=375,screenshotsFolder=cypress/artifacts/mobile/screenshots,videosFolder=cypress/artifacts/mobile/videos,videoUploadOnPasses=false"'
|
||||
- task: PublishPipelineArtifact@1
|
||||
displayName: "Publish test artifacts"
|
||||
condition: failed()
|
||||
inputs:
|
||||
targetPath: '$(Build.SourcesDirectory)/tests/Umbraco.Tests.AcceptanceTest/cypress/artifacts'
|
||||
artifact: 'Test artifacts - Windows'
|
||||
@@ -361,13 +360,11 @@ stages:
|
||||
# customCommand: 'run test -- --config="viewportHeight=812,viewportWidth=375,screenshotsFolder=cypress/artifacts/mobile/screenshots,videosFolder=cypress/artifacts/mobile/videos,videoUploadOnPasses=false"'
|
||||
- task: PublishPipelineArtifact@1
|
||||
displayName: "Publish test artifacts"
|
||||
condition: failed()
|
||||
inputs:
|
||||
targetPath: '$(Build.SourcesDirectory)/tests/Umbraco.Tests.AcceptanceTest/cypress/artifacts'
|
||||
artifact: 'Test artifacts - Linux'
|
||||
- task: PublishPipelineArtifact@1
|
||||
displayName: "Publish run log"
|
||||
condition: failed()
|
||||
inputs:
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)/dotnet_run_log_linux.txt'
|
||||
artifact: Test Run logs - Linux
|
||||
|
||||
Reference in New Issue
Block a user