Skip to content

Commit

Permalink
Ftest
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Feb 6, 2025
1 parent b9244ce commit 4f9e677
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ env:
jobs:
ftests:
runs-on: [ self-hosted, master ]
strategy:
matrix:
tags: ["@group1", "@group2", "@group3"]
fail-fast: false

steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -130,8 +135,8 @@ jobs:
env:
RUN_ALL: false
BAIL: 0
run: mvn -ntp install -Pftest -DskipInstall

run: mvn -ntp install -Pftest -DskipInstall -Dcucumber.tags="${{ matrix.tags }}"
- name: Archive cucumber reports
if: ${{ always() }}
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions ftest/features/activity.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group1
Feature: Activity

Background:
Expand Down
1 change: 1 addition & 0 deletions ftest/features/admin.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group1
Feature: Admin center

As an Administrator I have an Admin center
Expand Down
1 change: 1 addition & 0 deletions ftest/features/audit.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group1
Feature: Audit

Background:
Expand Down
1 change: 1 addition & 0 deletions ftest/features/authorized_apps.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group1
Feature: Authorized Applications

As an Administrator I can manage authorized applications
Expand Down
1 change: 1 addition & 0 deletions ftest/features/browser.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group1
Feature: Browser

I can browse the repository
Expand Down
1 change: 1 addition & 0 deletions ftest/features/bulk_edit.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group2
Feature: Bulk Edit

Background:
Expand Down
1 change: 1 addition & 0 deletions ftest/features/bulk_edit_custom_layouts.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group2
Feature: Bulk Edit with custom layouts

Background:
Expand Down
1 change: 1 addition & 0 deletions ftest/features/clipboard.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group2
@cleanupLocalStorage
Feature: Clipboard

Expand Down
1 change: 1 addition & 0 deletions ftest/features/cloud.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group2
Feature: Cloud Services

Cloud providers can be added, edit and removed.
Expand Down
1 change: 1 addition & 0 deletions ftest/features/collections.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group2
Feature: Collections

Background:
Expand Down
1 change: 1 addition & 0 deletions ftest/features/comments.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group2
Feature: Comments

Background:
Expand Down
1 change: 1 addition & 0 deletions ftest/features/compare.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group3
Feature: Compare

I can Compare the documents
Expand Down
1 change: 1 addition & 0 deletions ftest/features/create_doc.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group3
Feature: Create Document

I can create a Document
Expand Down
1 change: 1 addition & 0 deletions ftest/features/csv-import.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group3
Feature: CSV Import

Scenario: I can import a CSV file and navigate to the created documents
Expand Down
1 change: 1 addition & 0 deletions ftest/features/datatable_editing.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group3
Feature: Multi-valued Properties Editing

I can create and edit multi-valued properties
Expand Down
1 change: 1 addition & 0 deletions ftest/features/doc_suggestion.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@group3
Feature: Document Suggestion

I can edit single and multiple Document Suggestion Widgets
Expand Down
2 changes: 2 additions & 0 deletions ftest/itests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<env key="NUXEO_PACKAGES" value="nuxeo-csv"/>
<arg value="run" />
<arg value="ftest" />
<arg value="--" />
<arg value="--tags=${cucumber.tags}" />
</exec>
</target>

Expand Down
3 changes: 3 additions & 0 deletions ftest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
</goals>
<configuration>
<target>run-tests</target>
<properties>
<cucumber.tags>${cucumber.tags}</cucumber.tags>
</properties>
</configuration>
</execution>
<execution>
Expand Down

0 comments on commit 4f9e677

Please sign in to comment.