-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [M3-7841] - Add the capability to search for a Linode by ID using the main search tool. #11112
Merged
Merged
feat: [M3-7841] - Add the capability to search for a Linode by ID using the main search tool. #11112
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
b274baf
unit test coverage for HostNameTableCell
cpathipa f958dab
Revert "unit test coverage for HostNameTableCell"
cpathipa 5d0a476
Merge branch 'linode:develop' into develop
cpathipa 93aab07
Merge branch 'linode:develop' into develop
cpathipa d7deb4f
Merge branch 'linode:develop' into develop
cpathipa a550f05
Merge branch 'linode:develop' into develop
cpathipa de0f63e
Merge branch 'linode:develop' into develop
cpathipa 426c42c
Merge branch 'linode:develop' into develop
cpathipa 3fb49a6
Merge branch 'linode:develop' into develop
cpathipa 6c76508
Merge branch 'linode:develop' into develop
cpathipa 1653a6b
Merge branch 'linode:develop' into develop
cpathipa 00421cf
Merge branch 'linode:develop' into develop
cpathipa 959730a
Merge branch 'linode:develop' into develop
cpathipa d9bd490
Merge branch 'linode:develop' into develop
cpathipa 960415e
Merge branch 'linode:develop' into develop
cpathipa b9f4745
Merge branch 'linode:develop' into develop
cpathipa b0b9264
Merge branch 'linode:develop' into develop
cpathipa 6c70559
Merge branch 'linode:develop' into develop
cpathipa 96eb34d
Merge branch 'linode:develop' into develop
cpathipa 74b1635
Merge branch 'linode:develop' into develop
cpathipa 70d1422
Merge branch 'linode:develop' into develop
cpathipa 342fd96
Merge branch 'linode:develop' into develop
cpathipa bfed239
Merge branch 'linode:develop' into develop
cpathipa 8a19f9b
Merge branch 'linode:develop' into develop
cpathipa 9e9c14f
Merge branch 'linode:develop' into develop
cpathipa a25728e
Merge branch 'linode:develop' into develop
cpathipa 3196f2a
Merge branch 'linode:develop' into develop
cpathipa 4794d04
Merge branch 'linode:develop' into develop
cpathipa e977a94
Merge branch 'linode:develop' into develop
cpathipa add3f10
Merge branch 'linode:develop' into develop
cpathipa 2fafd33
Merge branch 'linode:develop' into develop
cpathipa b3463ae
Merge branch 'linode:develop' into develop
cpathipa a325e30
Merge branch 'linode:develop' into develop
cpathipa b1e2a51
chore: [M3-8662] - Update Github Actions actions (#11009)
bnussman-akamai 1b0931b
Merge branch 'develop' of github.com:cpathipa/manager into develop
cpathipa 9b2de1d
Merge branch 'linode:develop' into develop
cpathipa ff89c50
Merge branch 'linode:develop' into develop
cpathipa 4dbe28d
Merge branch 'linode:develop' into develop
cpathipa b2b7d97
Merge branch 'linode:develop' into develop
cpathipa 04514de
Merge branch 'linode:develop' into develop
cpathipa aefedb2
Add capability to search linode by id from main search tool
cpathipa 3c136c8
Added changeset: Add the capability to search for a Linode by ID usinβ¦
cpathipa 9c9875c
Update packages/manager/.changeset/pr-11112-added-1729086990373.md
cpathipa 1a11f03
Update packages/manager/cypress/e2e/core/linodes/search-linodes.spec.ts
cpathipa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Added | ||
--- | ||
|
||
Add the capability to search for a Linode by ID using the main search tool ([#11112](https://github.com/linode/manager/pull/11112)) |
44 changes: 44 additions & 0 deletions
44
packages/manager/cypress/e2e/core/linodes/search-linodes.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { ui } from 'support/ui'; | ||
import { cleanUp } from 'support/util/cleanup'; | ||
import { authenticate } from 'support/api/authentication'; | ||
import { createTestLinode } from 'support/util/linodes'; | ||
import type { Linode } from '@linode/api-v4'; | ||
|
||
authenticate(); | ||
describe('Search Linodes', () => { | ||
beforeEach(() => { | ||
cleanUp(['linodes']); | ||
cy.tag('method:e2e'); | ||
}); | ||
|
||
/* | ||
* - Confirm that linodes are searchable and filtered in the UI. | ||
*/ | ||
it('create a linode and make sure it shows up in the table and is searchable in main search tool', () => { | ||
cy.defer(() => createTestLinode({ booted: true })).then( | ||
(linode: Linode) => { | ||
cy.visitWithLogin('/linodes'); | ||
cy.get(`[data-qa-linode="${linode.label}"]`) | ||
.should('be.visible') | ||
.within(() => { | ||
cy.contains('Running').should('be.visible'); | ||
}); | ||
|
||
// Confirm that linode is listed on the landing page. | ||
cy.findByText(linode.label).should('be.visible'); | ||
|
||
// Use the main search bar to search and filter linode by label | ||
cy.get('[id="main-search"').type(linode.label); | ||
ui.autocompletePopper.findByTitle(linode.label).should('be.visible'); | ||
|
||
// Use the main search bar to search and filter linode by id value | ||
cy.get('[id="main-search"').clear().type(`${linode.id}`); | ||
ui.autocompletePopper.findByTitle(linode.label).should('be.visible'); | ||
|
||
// Use the main search bar to search and filter linode by id: pattern | ||
cy.get('[id="main-search"').clear().type(`id:${linode.id}`); | ||
ui.autocompletePopper.findByTitle(linode.label).should('be.visible'); | ||
} | ||
); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This results rending bucket icon for storage bucket search