Skip to content

Commit 9fbe962

Browse files
chore: remove label in loading state (#1848)
# Checklist - [x] I've added error handling for all actions/requests, and verified how this error will show on UI. (or there was no error handling) - [x] I've reviewed all the copy changed/added in this PR, using AI if needed. (or there was no copy changes) - [x] I've included the reference to the issues being closed from Github and/or Linear (or there was no issues) - [x] I've changed the Docs to reflect my changes (or it was not needed) - [x] I've put docs links where it may be helpful (or it was not needed) - [x] I checked the resulting UI both in Light and Dark mode (or no UI changes were made) - [x] I **reviewed** the **entire PR** myself (preferably, on GH UI) --------- Co-authored-by: Luiz Gomes <8636507+LuizAsFight@users.noreply.github.com>
1 parent 95bdaa7 commit 9fbe962

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.changeset/brown-geckos-shout.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"fuels-wallet": patch
3+
---
4+
5+
chore: remove label in loading state

packages/app/playwright/e2e/RecoverWallet.test.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ test.describe('RecoverWallet', () => {
9999
},
100100
{ timeout: 1000 }
101101
)
102-
.toBe(words.length);
102+
.toBeGreaterThanOrEqual(words.length);
103103
const inputs = await page.locator('input').all();
104104
words.forEach((word, i) => {
105105
expect(inputs[i]).toHaveValue(word);
@@ -148,7 +148,11 @@ test.describe('RecoverWallet', () => {
148148
await getButtonByText(page, /Paste/i).click();
149149

150150
/** Confirm the auto-selected mnemonic size */
151-
expect(format).toHaveValue('15');
151+
await expect
152+
.poll(async () =>
153+
(await getByAriaLabel(page, 'Select format')).inputValue()
154+
)
155+
.toBe('15');
152156

153157
/** Confirm Mnemonic */
154158
const words = WORDS_13.split(' ');

packages/app/src/systems/Transaction/components/TxFee/TxFeeLoader.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ import { styles } from './styles';
66

77
export const TxFeeLoader = (props: ContentLoaderProps) => (
88
<Card css={styles.detailItem()}>
9-
<Text color="intentsBase11" css={styles.title}>
10-
Fee (network)
11-
</Text>
129
<TxFeeAmountLoader {...props} />
1310
</Card>
1411
);

0 commit comments

Comments
 (0)