Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864553
D17876.id53311.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D17876.id53311.diff
View Options
diff --git a/cashtab/src/components/Agora/__tests__/index.test.js b/cashtab/src/components/Agora/__tests__/index.test.js
--- a/cashtab/src/components/Agora/__tests__/index.test.js
+++ b/cashtab/src/components/Agora/__tests__/index.test.js
@@ -390,29 +390,9 @@
/>,
);
- // Wait for the screen to load
- await waitFor(() =>
- expect(
- screen.queryByTitle('Cashtab Loading'),
- ).not.toBeInTheDocument(),
- );
-
- // Wait for agora offers to load
- await waitFor(() =>
- expect(
- screen.queryByTitle('Loading active offers'),
- ).not.toBeInTheDocument(),
- );
-
- // Wait for element to get token info and load
- expect(await screen.findByTitle('Active Offers')).toBeInTheDocument();
-
- // We see the Token Offers section
- expect(screen.getByText('Token Offers')).toBeInTheDocument();
-
// No whitelisted offers
expect(
- screen.getByText(
+ await screen.findByText(
'No whitelisted tokens are currently listed for sale. Try loading all offers.',
),
).toBeInTheDocument();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 20:34 (9 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5865885
Default Alt Text
D17876.id53311.diff (1 KB)
Attached To
D17876: [Cashtab] Streamline loading conditions in flaky test
Event Timeline
Log In to Comment