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 ftests coldStorage lts 2023 #279

Open
wants to merge 2 commits into
base: lts-2023
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-2023'
label 'jenkins-nuxeo-package-lts-2023-node-18'
}
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
3 changes: 1 addition & 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.1.0-rc.75",
"@nuxeo/nuxeo-web-ui-ftest": "3.1.6-rc.011",
"expect-webdriverio": "3.3.1",
"@open-wc/eslint-config": "^0.3.0",
"@esm-bundle/chai": "^4.1.5",
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.nuxeo</groupId>
<artifactId>nuxeo-parent</artifactId>
<version>2023.4.13</version>
<version>2023.4.23</version>
</parent>

<groupId>org.nuxeo.coldstorage</groupId>
Expand Down