fix: e2e test uses getByRole('combobox', { name: 'Tax' }) against a label 'Position Cost (Tax Rate)' (#467)
This commit is contained in:
parent
89134800c2
commit
660204ac14
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ test.describe('Acquire & Stake', () => {
|
||||||
await stakeAmountInput.fill('1000');
|
await stakeAmountInput.fill('1000');
|
||||||
console.log('[TEST] Filled staking amount!');
|
console.log('[TEST] Filled staking amount!');
|
||||||
|
|
||||||
const taxSelect = page.getByRole('combobox', { name: 'Tax' });
|
const taxSelect = page.getByRole('combobox', { name: 'Position Cost (Tax Rate)' });
|
||||||
console.log('[TEST] Selecting tax rate...');
|
console.log('[TEST] Selecting tax rate...');
|
||||||
await taxSelect.selectOption({ value: '2' });
|
await taxSelect.selectOption({ value: '2' });
|
||||||
console.log('[TEST] Tax rate selected!');
|
console.log('[TEST] Tax rate selected!');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue