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

NXP-XXX: enable back ftests lts 2021 #277

Open
wants to merge 5 commits into
base: lts-2021
Choose a base branch
from
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
6 changes: 2 additions & 4 deletions ci/Jenkinsfiles/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Closure buildUnitTestStage(env) {

pipeline {
agent {
label 'jenkins-nuxeo-package-lts-2021'
label 'jenkins-nuxeo-package-lts-2021-nodejs18'
}
options {
buildDiscarder(logRotator(daysToKeepStr: '60', numToKeepStr: '60', artifactNumToKeepStr: '5'))
Expand Down Expand Up @@ -118,6 +118,7 @@ pipeline {
container('playwright') {
nxWithGitHubStatus(context: 'utests/frontend') {
dir('nuxeo-coldstorage-web') {
sh 'npm install'
sh 'npm install --no-save playwright'
sh 'npx playwright install --with-deps'
sh 'npm run test'
Expand Down Expand Up @@ -163,8 +164,6 @@ pipeline {
}
}
nxWithGitHubStatus(context: 'ftests') {
echo "Functional tests are disabled (https://jira.nuxeo.com/browse/WEBUI-1260 and https://jira.nuxeo.com/browse/WEBUI-1252)"
/*
script {
def testNamespace = "${CURRENT_NAMESPACE}-coldstorage-${BRANCH_NAME}-${BUILD_NUMBER}-ftests".replaceAll('\\.', '-').toLowerCase()
def nuxeoParentVersion = readMavenPom().getParent().getVersion()
Expand All @@ -179,7 +178,6 @@ pipeline {
}
}
}
*/
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions nuxeo-coldstorage-web/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ limitations under the License.
<exec executable="node" failonerror="true" outputproperty="node-version">
<arg value="--version" />
</exec>
<fail message="NodeJS version must be 14">
<fail message="NodeJS version must be 18">
<condition>
<not>
<contains string="${node-version}" substring="v14" />
<contains string="${node-version}" substring="v18" />
</not>
</condition>
</fail>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Nuxeo from 'nuxeo';
// eslint-disable-next-line import/no-extraneous-dependencies
import { When, Then, Before } from '@cucumber/cucumber';

Before(() => {
Expand Down
4 changes: 2 additions & 2 deletions nuxeo-coldstorage-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"author": "Nuxeo",
"license": "Apache-2.0",
"devDependencies": {
"@cucumber/cucumber": "^7.0.0",
"@nuxeo/nuxeo-web-ui-ftest": "~3.0.6-rc.0",
"@nuxeo/nuxeo-web-ui-ftest": "3.0.31-rc.003",
"expect-webdriverio": "3.3.1",
"@open-wc/eslint-config": "^0.3.0",
"@esm-bundle/chai": "^4.1.5",
Expand All @@ -15,6 +14,7 @@
"@web/test-runner": "^0.13.11",
"@web/test-runner-playwright": "^0.8.6",
"@web/test-runner-saucelabs": "^0.5.0",
"@wdio/cucumber-framework": "^8.16.11",
"eslint": "^7.12.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.15.0",
Expand Down