mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Attempt to fix UI test with hg,svn replacement
This commit is contained in:
@@ -294,6 +294,10 @@ describe('<ProjectForm />', () => {
|
|||||||
const scmTypeSelect = wrapper.find(
|
const scmTypeSelect = wrapper.find(
|
||||||
'FormGroup[label="Source Control Credential Type"] FormSelect'
|
'FormGroup[label="Source Control Credential Type"] FormSelect'
|
||||||
);
|
);
|
||||||
|
await act(async () => {
|
||||||
|
scmTypeSelect.invoke('onChange')('svn', { target: { name: 'Subversion' } });
|
||||||
|
});
|
||||||
|
wrapper.update();
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
wrapper
|
wrapper
|
||||||
.find('FormGroup[label="Source Control URL"] input')
|
.find('FormGroup[label="Source Control URL"] input')
|
||||||
|
|||||||
Reference in New Issue
Block a user