Commit Graph

26 Commits

Author SHA1 Message Date
Filipe Freire
bfb2821993
Environment Editor PreRelease Smoke Tests (#5502)
* Create initial test file and fixture

* fix create environment dropdown minor bug

* Add tests, datatestid & edit fixture
2023-01-26 08:39:32 +00:00
Filipe Freire
7417acb7b9
Git Sync prerelease tests (#5705)
* WIP-clone-bad-values

* WIP

* test

* WIP-clone-bad-values

* WIP

* wip

* Git-Sync-Test

* improve a bit the locators

* Update settings.json

* fix role from button to menuitem

Co-authored-by: kreosus <kristofer.huffman@konghq.com>
2023-01-20 16:04:50 +00:00
Pavlos Koutoglou
e38ece1ab7
Feature/ins-2070-bug-updowntabshifttab-not-working (#5615)
* Update version of react-aria package

* Create dropdown hint component

* Create dropdown button component

* Create the popover component

* Create the menu item component

* Create the menu section component

* Create the menu component

* Create the dropdown related components

* Change the hotkey html tag

* Added full width option for prompt-button

* Replace the dropdown with the new

* Add some default props for dropdown

* Used themed button into dropdown button

* Added style prop for dropdown

* Remove checkmark from menu item

* Added styled props to popover

* Remove inner button from account toolbar

* Added new dropdown into cookie-list

* Revert package update

* WIP

* Delete button component and replace it's usage with dropdown button

* Fix spacing

* Added className for code-editor dropdown

* Remove the old dropdown

* Change import

* Revert some ref changes

* Added ref to dropdown

* Fixed some styles

* Fix issues like autosave and added isDisable prop

* Add title

* Remove insomnia-common imports

* Remove insomnia-common imports

* Fix code format

* Change style and fix code format

* Fix styles

* Replace dropdown import

* Fix divider style

* Fix last icon in sidebar create dropdown

* Fix issue with dropdown and the resizing screen

* Fix linter issues

* Moved the prompt button into itemContent component

* Change styled component

* Fix issue with sidebar-request-row to display the dropdown on hover

* Remove the item content in a separate component

* Remove unused css

* Destructure children props

* Fix trigger prop for grpc-method-dropdown

* Added prompt button when user delete test suite

* Hide empty dropdown items from section

* Fix linter issues

* Added Checkmark into item content

* Fix issue with linter and shortcut component

* Fixed linter issues

* Revert fragments

* Fix linter issues

* Added props for multiple select and disable

* Fix close issue with sidebar dropdown

* Update disable and stay open prop for all dropdowns

* Added aria-label for dropdown, section, items

* Added selected style for item

* Added logic for disabled items

* Fixed issue with selected items

* Fix issue with selection of grpc method dropdown

* Added aria-label to code-editor

* Fix issue with onClick and prompt

* Hide sections if it's empty

* Remove on select from item content

* Pass closeOnSelect props in the menu

* Removed dataTestId from dropdown items in request-actions

* Fix debug sidebar dropdown tests

* Change the cookie editor interactions tests

* Fix dashboard interactions tests

* Fix design-interactions tests

* Fixed grpc-interactions tests

* Fix plugins interactions tests

* Fix preferences interactions tests

* Fixed request-pane-tab tests

* Fixed app smoke tests

* Update git-sync smoke tests

* Fix space issue

* Fixed graphql smoke test

* Fixed oauth smoke test

* Fixed oauth smoke test

* Fixed websocket smoke test

* Fixed cookie-editor-interactions tests

* Remove the dropdown unit test

* Made small refactoring and remove unnecessary props

* Fix issue with grpc-method-dropdown

* Change the grpc smoke test

* Added default role props

* Update all tests that use project role

* Remove console.log

* Fix issue with themes

* REmove dropdown import from index.less file

* Remove handleClick and add some comments

* Use getItemCount from react-stately

* Remove method-dropdown css

* Fix shortcut button style

* remove extra space on sync-dropdown

* fix lint

* Remove unused prop

* Fix issue with remote workspace dropdown

* remove divider on first section if empty

* remove unused showGrpc option in method dropdown

* Fix issue with workspace-dropdown

* Fix git-sync-dropdown issues

* Fix issue with remove workspaces dropdown

* Fix sync-dropdown component

* Added disable style

* Moved server reflection and proto file outside of the dropdown

* Fix style when item is selected

* Fix issue with grpc smoke test

* Fix issue with menu props

* Disable server reflection button if url is empty

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2023-01-20 16:49:52 +02:00
Filipe Freire
7168d01cf4
Add prerelease test for #5664 / INS-2267 (#5668)
* Add prerelease tests for #5664 / INS-2267

* Add note on how to run non recurring tests

* improve copy
2023-01-13 17:17:01 +01:00
kreosus
08edada6b8
Debug head test (#5638)
* Created Debug Head tests

* Added Open Generate code and copy as curl test

* delete duplicate debug-head file

* trying to add data-testid

* add todo messages

* revert datatestid for codemirror

* revert datatestid for codemirror

* fix

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-11 16:06:46 +00:00
kreosus
6dffc7fcf2
Preferences prelease test (#5603)
* Added Open Generate code and copy as curl test

* Improvements to the Generate code test

* added tests for preferences

* fixed selectors

* fixed test selectors

* removed extra whitespace

* fix lint

* Improve a bit the preferences tests

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-04 17:10:31 +00:00
Filipe Freire
25cd66fd1a Fix grpc prerelease smoke check 2022-12-15 14:28:07 +00:00
Filipe Freire
b53187c908
Remove import for existing workspace (#5524)
* Remove import for existing workspace

* remove the new button click from all smoke tests

Co-authored-by: jackkav <jackkav@gmail.com>
2022-12-14 17:47:49 +00:00
kreosus
a1cb079012
Open generate code and copy as curl (#5499)
* Added Open Generate code and copy as curl test

* Improvements to the Generate code test
2022-12-13 17:46:54 +00:00
Filipe Freire
792bf7034d
Add prerelease grpc smoke tests (#5480)
* Add prerelease grpc smoke tests

* Wrap up smoke tests

* small improvements

* Remove duplication
2022-12-07 10:33:15 +00:00
kreosus
4f7305084f
Pin a request (#5487)
* test to rename a request

* added Delete Request test

* added filter by folder test

* added Pin a request test

* minor improvements

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-12-06 12:01:30 +00:00
Vincenzo De Petris
fe4df702dd
Always generate base environment id when importing (#4378)
* Always generate base environment id when importing

* add unit test

* fix lint

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-11-30 17:53:49 +00:00
kreosus
3fe9981531
Filter by request (#5467) 2022-11-30 09:51:36 +00:00
Filipe Freire
df81ad6671
[INS-2083] Prerelease smoke tests for cookie editor (#5450)
* Add cookie editor prerelease smoke test

* wrap up cookie-editor-interactions test
2022-11-29 14:35:23 +00:00
Jack Kavanagh
f81bfd68fa
removes right pane swagger preview (#5457)
* removes right pane swagger preview

* package lock

* remove preview from smoke tests
2022-11-24 14:11:09 +00:00
Filipe Freire
943c28cc12
[INS-2082] Add prerelease tests for Design interactions (#5415)
* initial commit

* Add prerelease tests for Unit Test feature

* Add test to import oa3 spec into design doc
2022-11-22 11:32:05 +00:00
kreosus
c7eeaa3a6c
Collection settings (#5447)
* WIP to open properties of a folder

* FIx Open properties of a folder test

* fix open propertites of a collection

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-11-21 17:30:50 +00:00
kreosus
df2488ae48
[INS-2129] Add prerelease smoke test to open properties of a folder (#5423)
* WIP to open properties of a folder

* FIx Open properties of a folder test
2022-11-17 16:45:07 +00:00
kreosus
e5af9ba6b8
Improve Locators for new create HTTP test (#5406) 2022-11-14 09:10:19 +00:00
Pavlos Koutoglou
7eb3725781
Tabs accessibility (#4944)
* Create a wrapper Tab component

* Used the new Tabs component and remove the button from children from grpc-tabbed-messages

* Used the new Tabs component and remove the button from children from grpc-request-pane

* Used the new Tabs component and remove the button from children from response-pane

* Used the new Tabs component and remove the button from children from request-pane

* Used the new Tabs component and remove the button from children from git-repository-settings-modal

* Used the new Tabs component and remove the button from children from settings-modal

* Used the new Tabs component and remove the button from children from workspace-settings-modal

* Used the new Tabs component and remove the button from children from generate-config-modal

* Used the new Tabs component and remove the button from children from cookie-modify-modal

* Used the new Tabs component and remove the button from children from markdown-editor

* Use react-aria tabs instead of react-tabs

* Delete react-tabs dependency

* Use new tabs component and replace markdown-editor with styled-component instead of using less css

* Created query editor component with styled-components instead of using less css

* Update index.css

* Use new tabs component into cookie-modify-modal

* Use new tabs in general-config-modal

* Use new tabs in settings-modal

* Use new tabs in workspace-settings-modal

* Use new tabs in git-repository-settings-modal

* Use new tabs in request-pane

* Use new tabs in response-pane

* Use new tabs in grpc-request-pane

* Use new tabs in grpc-tabbed-messages

* Use new geury editor component and new tab implementation in websocket-request-pane

* Use new tabs in websockets-response-pane

* Change the package-lock.json file

* Remove className props from TabItemProps

* Fix rendering issue with tabs children and move action buttons above the nested tabs

* Added nested tabs option

* Added nested styling

* Made the grpc-tabbed-messages to be nested tabs

* Fix issue with styles into tablist

* Move less styles to styles component

* Fixed style issue with borders when tab is selected

* Fix styling issues with nested tabs

* Added aria labels for all tabs

* Fixed tab tests

* Fix issue with plugings test

* Remove the outline from selected tab

* Fix scrolling issue with some tab panels

* Remove outline from activity toggle

* Add failing test for the Declarative config and kong kubernetes

* Fixed issue with generate config modal into the panel

* docs and ws request body styling

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-11-11 19:38:30 +01:00
kreosus
8a450c00d4 INS-2137 Create a new HTTP smoketest 2022-11-10 11:54:13 -06:00
James Gatz
492a48927b
Add organization routes (#5395)
* Move page layout styles to page layout component

Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com>

* load organizations in root route

* update github stars button styles

* add app header

* add organizations navbar

* org model

* button xs size variant

* add statusbar

* update workspace card labels

* organization route

* update project view styles

* add account toolbar in header

* add project sidebar

* add workspace navigation

* add git sync dropdown

* guard against existing project

* update styles

* update modal styles

* guard against vcs and offline mode

* make new workspace modals cancellable

* remove unused test

* update delete project redirects

* add account settings option in account dropdown

* remove unused dropdown

* filter backend projects by existing workspaces

Closes INS-2127

* add sync dropdown for collections

* update dashboard tests

* fix lint

* fix rebase

* update styles

* fix horizontal layout resize

* fix duplicate modal action

* update app initialization code and remove logic from redux

* update views on login and clear the pull dropdown on project change

* fix prop error

* update tests

* redux test fix

* initialize the redux navigation state by the initial location

* validate previous location history entry or use default

* update analytics modal styles

Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: Mark Kim <mark.kim@konghq.com>
2022-11-10 12:11:21 +00:00
kreosus
95babda62e
Adding initial test for debug-sidebar (#5393)
* Adding initial test for debug-sidebar

* Add data-testids to interact with dropdowns better

Co-Authored-By: kreosus <59621250+kreosus@users.noreply.github.com>

* Rename testHandle to dataTestId

Co-authored-by: kreosus <kreosus@users.noreply.github.com>

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: kreosus <kreosus@users.noreply.github.com>
2022-11-09 14:34:34 +00:00
kreosus
1a09035743
INS-2087 Prelease Test for Plugins (#5337)
Co-authored-by: Filipe Freire <filipe.r.freire@gmail.com>

Co-authored-by: Filipe Freire <filipe.r.freire@gmail.com>
2022-10-27 17:04:45 +00:00
Filipe Freire
d3bded4fe0
[INS-2078] Dashboard PreRelease tests (#5330)
* [INS-2077] Dashboard PreRelease tests

* Add create,rename,delete project test

* Add test for filter in the dashboard

* Rename/duplicate/delete collection & design tests
2022-10-27 17:49:45 +01:00
Filipe Freire
5bba2e9545
[INS-2022] Initial exploration multiple test projects (#5244)
* Initial exploration multiple test projects

* Replace duplicate scenario with one to be filled in

* Simplify number of playwright project configs

* Fix testMatch setting on playwright config

* Edit github actions to distinguish between CI and Release runs
2022-10-11 08:56:12 +00:00