Skip to content

Commit

Permalink
Merge pull request #529 from Xpirix/fix_fedora_table
Browse files Browse the repository at this point in the history
Use the params for versions in the fedora table
  • Loading branch information
Xpirix authored Jan 29, 2025
2 parents b0296fc + 9f7b501 commit 7f8bede
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 3 additions & 3 deletions content/resources/installation-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,10 @@ Follow the `toolbx` and `distrobox` [instructions](#distrobox--toolbx).

Fedora switches between the current QGIS release and the LTR releases. The unstable "Rawhide" branch will ship newer but possibly buggy QGIS versions.

|Distribution|Version|QGIS version|GRASS GIS version|
|Distribution|Version|QGIS version|
|---|---|---|---|
|Fedora|40|3.34.14|3.34.14|
||41|3.40.2|3.40.2|
|Fedora|40|{{< param "ltrversion" >}}.x {{< param "ltrcodename" >}} {{< param "ltrnote" >}}|
||41|{{< param "version" >}}.x {{< param "codename" >}} {{< param "releasenote">}}|

Always up-to-date version infos:
- [QGIS](https://packages.fedoraproject.org/pkgs/qgis/qgis)
Expand Down
3 changes: 1 addition & 2 deletions playwright/ci-test/tests/06-resources-page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,8 @@ test.describe("Resources pages", () => {
).toBeVisible();
await expect(installationGuidePage.dnfInstallQgisPre).toBeVisible();
await expect(installationGuidePage.distributionCell2).toBeVisible();
await expect(installationGuidePage.distGrassFedora).toBeVisible();
await expect(installationGuidePage.distQGISFedora).toBeVisible();
await expect(installationGuidePage.qgisVersionCell).toBeVisible();
await expect(installationGuidePage.grassGisVersionCell).toBeVisible();
await expect(installationGuidePage.rpmInstallQgis).toBeVisible();
await expect(installationGuidePage.distributionCell3).toBeVisible();
await expect(installationGuidePage.repositoryCell2).toBeVisible();
Expand Down
11 changes: 3 additions & 8 deletions playwright/ci-test/tests/fixtures/installation-guide-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ export class InstallationGuidePage {
public readonly aptUpdateInstallQgisServerPre: Locator;
public readonly dnfInstallQgisPre: Locator;
public readonly distributionCell2: Locator;
public readonly distGrassFedora: Locator;
public readonly distQGISFedora: Locator;
public readonly qgisVersionCell: Locator;
public readonly grassGisVersionCell: Locator;
public readonly rpmInstallQgis: Locator;
public readonly distributionCell3: Locator;
public readonly repositoryCell2: Locator;
Expand Down Expand Up @@ -231,20 +230,16 @@ export class InstallationGuidePage {
this.distributionCell2 = this.page
.getByRole("cell", { name: "Distribution" })
.nth(1);
this.distGrassFedora = this.page
this.distQGISFedora = this.page
.locator("table")
.filter({
hasText:
"Distribution Version QGIS version GRASS GIS version Fedora",
hasText: "Distribution Version QGIS version Fedora",
})
.locator("th")
.nth(1);
this.qgisVersionCell = this.page
.getByRole("cell", { name: "QGIS version" })
.first();
this.grassGisVersionCell = this.page
.getByRole("cell", { name: "GRASS GIS version" })
.first();
this.rpmInstallQgis = this.page.locator("pre").filter({
hasText:
"rpm-ostree install qgis python3-qgis qgis-grass qgis-server",
Expand Down

0 comments on commit 7f8bede

Please sign in to comment.