-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4541 from rhrazdil/fix_integration_modals_kubevirt
Bug 1807951: Fix issues with modal buttons in kubevirt integration tests
- Loading branch information
Showing
7 changed files
with
25 additions
and
36 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
8 changes: 3 additions & 5 deletions
8
frontend/packages/kubevirt-plugin/integration-tests/tests/models/editFlavorView.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 |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import { $ } from 'protractor'; | ||
|
||
export const flavorDropdownId = '#vm-flavor-modal-flavor-dropdown'; | ||
export const flavorDropdown = $('#vm-flavor-modal-flavor'); | ||
|
||
export const modalTitle = () => $('[data-test-id="modal-title"]'); | ||
export const flavorDropdownText = () => | ||
$('.kubevirt-vm-flavor-modal__dropdown .pf-c-dropdown__toggle-text'); | ||
export const saveButton = () => $('#confirm-action'); | ||
export const saveButton = () => $('#vm-flavor-modal-submit'); | ||
export const cpusInput = () => $('#vm-flavor-modal-cpu'); | ||
export const memoryInput = () => $('#vm-flavor-modal-memory'); | ||
export const memoryInput = () => $('#vm-flavor-modal-memory-size'); |
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
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