Skip to content

Commit 7fd8fcd

Browse files
committed
test: temporary focus date-time tests for debugging
Enabled `.only` method to isolate and debug the date-time test scenarios. This ensures these tests are executed exclusively for troubleshooting specific issues.
1 parent a6366be commit 7fd8fcd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

web/libs/editor/tests/e2e/tests/date-time.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const regions = [
5454

5555
const params = { config, data };
5656

57-
Scenario(
57+
Scenario.only(
5858
"Check DateTime holds state between annotations and saves result",
5959
async ({ I, AtDateTime, AtLabels, AtOutliner, LabelStudio }) => {
6060
I.amOnPage("/");

web/libs/editor/tests/integration/e2e/control_tags/date-time.cy.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ const regions = [
5858
},
5959
];
6060

61-
describe("Date Time", () => {
62-
it("should hold state between annotations and saves result", () => {
61+
// biome-ignore lint/suspicious/noFocusedTests: <explanation>
62+
describe.only("Date Time", () => {
63+
// biome-ignore lint/suspicious/noFocusedTests: <explanation>
64+
it.only("should hold state between annotations and saves result", () => {
6365
LabelStudio.params().config(config).data(data).withResult([]).init();
6466
LabelStudio.waitForObjectsReady();
6567

0 commit comments

Comments
 (0)