-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[frontend] improve e2e tests (#6343)
- Loading branch information
1 parent
caf65b2
commit 932c5d0
Showing
4 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...orm/opencti-front/tests_e2e/model/stixCoreRelationshipCreationFromEntityForm.pageModel.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { Page } from '@playwright/test'; | ||
|
||
export default class StixCoreRelationshipCreationFromEntityFormPage { | ||
constructor(private page: Page) {} | ||
|
||
getStixCoreRelationshipCreationFromEntityComponent() { | ||
return this.page.getByTestId('stixCoreRelationshipCreationFromEntity-component'); | ||
} | ||
} |