Skip to content

Commit

Permalink
enable ftest back
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Mar 1, 2024
1 parent 2dec4cf commit 6467be2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
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.008",
"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

0 comments on commit 6467be2

Please sign in to comment.