From 24fdee009a0f33c723d5ff955dcc0e083d6e401c Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 13 Feb 2025 20:42:31 +0100 Subject: [PATCH 1/2] ci: fix integration yaml syntax Signed-off-by: Arthur Schiwon --- .github/workflows/integration.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 0b48363b2..004e7768f 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -28,10 +28,16 @@ jobs: strategy: fail-fast: false matrix: - server-versions: ['stable29', 'stable30' 'master'] + server-versions: ['stable29', 'stable30', 'stable31', 'master'] php-versions: ['8.1'] databases: ['mysql'] include: + - server-versions: 'stable31' + php-versions: '8.4' + databases: 'pgsql' + - server-versions: 'stable31' + php-versions: '8.4' + databases: 'sqlite' - server-versions: 'master' php-versions: '8.4' databases: 'pgsql' From 2c1c9a9c8d53e79c25e08506a75dd58dd4e5a5b2 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 13 Feb 2025 21:45:43 +0100 Subject: [PATCH 2/2] tests(behat): adjust tutorial table tests Signed-off-by: Arthur Schiwon --- tests/integration/features/APIv1.feature | 18 +++++++++--------- tests/integration/features/APIv2.feature | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/integration/features/APIv1.feature b/tests/integration/features/APIv1.feature index c1b17e05f..65957170a 100644 --- a/tests/integration/features/APIv1.feature +++ b/tests/integration/features/APIv1.feature @@ -11,7 +11,7 @@ Feature: APIv1 @api1 Scenario: User has initial table Then user "participant1" has the following tables - | Tutorial | + | Welcome to Nextcloud Tables! | @api1 Scenario: User creates, rename and delete a table @@ -22,7 +22,7 @@ Feature: APIv1 Then user "participant1" updates table with keyword "renamed table" set title "renamed table without emoji" and optional emoji "" Then user "participant1" deletes table with keyword "without emoji" Then user "participant1" has the following tables - | Tutorial | + | Welcome to Nextcloud Tables! | @api1 Scenario: Table sharing with a user @@ -35,7 +35,7 @@ Feature: APIv1 | delete | 0 | | manage | 0 | Then user "participant2" has the following tables - | Tutorial | Ready to share | + | Welcome to Nextcloud Tables! | Ready to share | Then user "participant1" sets permission "read" to 0 Then user "participant1" sets permission "update" to 0 Then user "participant2" has the following permissions @@ -46,9 +46,9 @@ Feature: APIv1 | manage | 0 | Then user "participant1" deletes table with keyword "Ready to share" Then user "participant1" has the following tables - | Tutorial | + | Welcome to Nextcloud Tables! | Then user "participant2" has the following tables - | Tutorial | + | Welcome to Nextcloud Tables! | @api1 @table-sharing Scenario: Inaccessible table sharing with a user @@ -57,19 +57,19 @@ Feature: APIv1 When user "participant2" attempts to share the table with user "participant3" Then the reported status is "404" And user "participant3" has the following tables - | Tutorial | + | Welcome to Nextcloud Tables! | @api1 Scenario: Table sharing with a group Given table "Ready to share" with emoji "🥪" exists for user "participant1" as "base1" Then user "participant1" shares table with group "phoenix" Then user "participant2" has the following tables - | Tutorial | Ready to share | + | Welcome to Nextcloud Tables! | Ready to share | Then user "participant1" deletes table with keyword "Ready to share" Then user "participant1" has the following tables - | Tutorial | + | Welcome to Nextcloud Tables! | Then user "participant2" has the following tables - | Tutorial | + | Welcome to Nextcloud Tables! | @api1 Scenario: Create and check columns diff --git a/tests/integration/features/APIv2.feature b/tests/integration/features/APIv2.feature index f20f7d3ab..4317c1bf1 100644 --- a/tests/integration/features/APIv2.feature +++ b/tests/integration/features/APIv2.feature @@ -9,9 +9,9 @@ Feature: APIv2 @api2 Scenario: Test initial setup Then user "participant1-v2" has the following tables via v2 - | Tutorial | + | Welcome to Nextcloud Tables! | Then user "participant1-v2" has the following resources via v2 - | Tutorial | + | Welcome to Nextcloud Tables! | @api2 Scenario: Basic table actions