mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
comment tooltip tests back in
This commit is contained in:
@@ -61,11 +61,10 @@ describe( "shows tooltip", () => {
|
||||
|
||||
renderComponent( <AddObsButton /> );
|
||||
|
||||
// Temporarily disabled the tooltip for new users, as it is freezing the app in some cases.
|
||||
// const tooltipText = await screen.findByText(
|
||||
// "Press and hold to view more options"
|
||||
// );
|
||||
// expect( tooltipText ).toBeTruthy();
|
||||
const tooltipText = await screen.findByText(
|
||||
"Press and hold to view more options"
|
||||
);
|
||||
expect( tooltipText ).toBeTruthy();
|
||||
} );
|
||||
|
||||
it( "to new users only after they dismissed the account creation card", async () => {
|
||||
@@ -87,11 +86,10 @@ describe( "shows tooltip", () => {
|
||||
}
|
||||
} );
|
||||
|
||||
// Temporarily disabled the tooltip for new users, as it is freezing the app in some cases.
|
||||
// const tooltipTextAfter = await screen.findByText(
|
||||
// "Press and hold to view more options"
|
||||
// );
|
||||
// expect( tooltipTextAfter ).toBeTruthy();
|
||||
const tooltipTextAfter = await screen.findByText(
|
||||
"Press and hold to view more options"
|
||||
);
|
||||
expect( tooltipTextAfter ).toBeTruthy();
|
||||
} );
|
||||
|
||||
it( "to logged in users with more than 50 observations after card dismissal", async () => {
|
||||
@@ -110,10 +108,9 @@ describe( "shows tooltip", () => {
|
||||
}
|
||||
} );
|
||||
|
||||
// Temporarily disabled the tooltip for new users, as it is freezing the app in some cases.
|
||||
// const tooltipTextAfter = await screen.findByText(
|
||||
// "Press and hold to view more options"
|
||||
// );
|
||||
// expect( tooltipTextAfter ).toBeTruthy();
|
||||
const tooltipTextAfter = await screen.findByText(
|
||||
"Press and hold to view more options"
|
||||
);
|
||||
expect( tooltipTextAfter ).toBeTruthy();
|
||||
} );
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user