@@ -58,15 +58,15 @@ describe("basic smoke test", () => {
5858
5959 it ( "should be able to install specific version" , async ( ) => {
6060 const { screen, searchTerm } = utils ! ;
61- await searchTerm ( "pnpm.io " ) ;
62- const pnpmCard = await utils . findSearchPackageCardBySlug ( "pnpm_io " ) ;
63- await expect ( pnpmCard ) . toExist ( ) ;
64- pnpmCard . click ( ) ;
61+ await searchTerm ( "grep " ) ;
62+ const grepCard = await utils . findSearchPackageCardBySlug ( "gnu_org_grep " ) ;
63+ await expect ( grepCard ) . toExist ( ) ;
64+ grepCard . click ( ) ;
6565
6666 await utils . uninstallPackageIfNeeded ( ) ;
67- await utils . installSpecificVersion ( "pnpm_io " , "8.0 .0" ) ;
67+ await utils . installSpecificVersion ( "gnu_org_grep " , "3.8 .0" ) ;
6868
69- await utils . verifyAndCloseNotification ( / ^ P a c k a g e p n p m . i o .* h a s b e e n i n s t a l l e d ./ ) ;
69+ await utils . verifyAndCloseNotification ( / ^ P a c k a g e g n u . o r g \/ g r e p .* h a s b e e n i n s t a l l e d ./ ) ;
7070
7171 // Now test the update
7272 await utils . goHome ( ) ;
@@ -77,10 +77,10 @@ describe("basic smoke test", () => {
7777 const header = await screen . findByText ( "available updates" ) ;
7878 await expect ( header ) . toExist ( ) ;
7979
80- const updateBtn = await utils . findByTestId ( "install-button-pnpm_io " ) ;
80+ const updateBtn = await utils . findByTestId ( "install-button-gnu_org_grep " ) ;
8181 await expect ( updateBtn ) . toExist ( ) ;
8282 updateBtn . click ( ) ;
8383
84- await utils . verifyAndCloseNotification ( / ^ P a c k a g e p n p m . i o .* h a s b e e n i n s t a l l e d ./ ) ;
84+ await utils . verifyAndCloseNotification ( / ^ P a c k a g e g n u . o r g \/ g r e p .* h a s b e e n i n s t a l l e d ./ ) ;
8585 } ) ;
8686} ) ;
0 commit comments