Skip to content

Commit 2b77359

Browse files
committed
changes made to the test to fix errors
1 parent 5016f0e commit 2b77359

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Frontend/src/components/configuration/PlatformLicense.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const loading = computed(() => {
3131
<div class="box">
3232
<div class="row">
3333
<div class="license-info">
34-
<div><b>Platform license type:</b> <span aria-label="license-type">{{ license.license_type }}{{ license.licenseEdition }}</span></div>
34+
<div><b>Platform license type:</b> <span role="displayText" aria-label="license-type">{{ license.license_type }}{{ license.licenseEdition }}</span></div>
3535

3636
<template v-if="licenseStatus.isSubscriptionLicense">
3737
<div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { screen } from "@testing-library/vue";
22

33
export async function licenseTypeDetails() {
4-
const licenseType = await screen.findByRole("label", { name: "license-type" });
4+
const licenseType = await screen.findByRole("displayText", { name: "license-type" });
55
return licenseType.textContent;
66
}

src/Frontend/test/specs/configuration/viewing-license.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { licenseTypeDetails } from "./questions/licenseTypeDetails";
55

66
describe("FEATURE: License", () => {
77
describe("RULE: Platform license type should be shown shown", () => {
8-
test.todo("EXAMPLE: Valid platform license type should be shown", async ({ driver }) => {
8+
test("EXAMPLE: Valid platform license type should be shown", async ({ driver }) => {
99

1010
/* SCENARIO
1111
Given the platform license is valid

0 commit comments

Comments
 (0)