Merge pull request 'fix: e2e test uses getByRole('combobox', { name: 'Tax' }) against a label 'Position Cost (Tax Rate)' (#467)' (#469) from fix/issue-467 into master

This commit is contained in:
johba 2026-03-06 00:10:42 +01:00
commit 7dc0c52664

View file

@ -238,7 +238,7 @@ test.describe('Acquire & Stake', () => {
await stakeAmountInput.fill('1000');
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...');
await taxSelect.selectOption({ value: '2' });
console.log('[TEST] Tax rate selected!');