Skip to content
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

[GEN-1927]: add a Cypress test for onboarding-flow #1928

Closed
wants to merge 269 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
f1ac07b
[GEN-1546] Add delete attr new api (#1612)
alonkeyval Oct 22, 2024
254427a
[GEN-1546] Add pii masking new api (#1613)
alonkeyval Oct 22, 2024
c769731
[GEN-1513]: actions modal form (#1608)
BenElferink Oct 22, 2024
89a6594
fix: stringify for graphql
BenElferink Oct 22, 2024
9d260f4
Merge remote-tracking branch 'odigos/new-ui' into gen-1515-fix-string…
BenElferink Oct 22, 2024
19eb1fe
[GEN-1515]: fix stringify for graphql (#1615)
BenElferink Oct 27, 2024
446c37a
Merge branch 'main' into new-ui
BenElferink Oct 27, 2024
f97a5a1
Merge pull request #4 from odigos-io/new-ui
BenElferink Oct 27, 2024
944480f
[GEN-1547] Add error sampler api (#1629)
alonkeyval Oct 27, 2024
2637c1e
[GEN-1555] Add new latency sampler api (#1630)
alonkeyval Oct 27, 2024
4cedea9
[GEN-1557] Add prod sampler new api (#1631)
alonkeyval Oct 27, 2024
40f2215
[GEN-1559] Add new gql api for rename attr action (#1634)
alonkeyval Oct 27, 2024
2d4b1bb
[GEN-1517]: actions add via gql (#1635)
BenElferink Oct 27, 2024
afa1268
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 27, 2024
eff6d90
[GEN-1529]: latency sampler (#1644)
BenElferink Oct 28, 2024
536f32f
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 28, 2024
1ea39de
[GEN-1521]: update action - AddClusterInfo (#1646)
BenElferink Oct 28, 2024
fa352be
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 28, 2024
f3c1a26
[GEN-1579]: button outline (#1647)
BenElferink Oct 28, 2024
3bb2338
[GEN-1580]: useKeyDown hook fixed (#1648)
BenElferink Oct 28, 2024
a4f03d8
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 28, 2024
2a83b84
[GEN-1591]: make "add action" in overview functional (#1650)
BenElferink Oct 29, 2024
b3fa682
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 29, 2024
9ac0d13
[GEN-1583]: fix validations for "add actions" custom fields (#1651)
BenElferink Oct 29, 2024
f0a397f
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 29, 2024
33cb867
[GEN-1521]: update actions (#1652)
BenElferink Oct 29, 2024
2c13a75
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 29, 2024
d42c32b
[GEN-1593]: upgraded "status" component (#1655)
BenElferink Oct 29, 2024
3ab5c0c
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 29, 2024
c15a6ba
[GEN-1574]: delete actions (#1657)
BenElferink Oct 30, 2024
977c57b
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 30, 2024
fa609c3
[GEN-1592] Add instrumentation rules to gql (#1659)
alonkeyval Oct 30, 2024
78eda6e
[GEN-1582]: UI tweaks (#1658)
BenElferink Oct 30, 2024
6a91aba
[GEN-1603]: add rules column to overview (#1661)
BenElferink Oct 30, 2024
d95b6fe
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 30, 2024
fa5c457
fix: autocompleted notification type (#1664)
BenElferink Oct 31, 2024
cde9bdd
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 31, 2024
93bbe30
[GEN-1604]: create & get rules (#1665)
BenElferink Oct 31, 2024
7ca44f7
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 31, 2024
c270e78
[GEN-1616] Add delete destination to gql (#1669)
alonkeyval Nov 3, 2024
9358337
[GEN-1601]: refetch after create/update destination (#1668)
BenElferink Nov 3, 2024
29d2e0d
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 3, 2024
08eacfe
[GEN-1581]: lists auto-focus & disable delete (#1670)
BenElferink Nov 3, 2024
240730f
[GEN-1613]: delete destination (#1672)
BenElferink Nov 3, 2024
5647431
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 3, 2024
9748362
[GEN-1620] Add metrics to gql (#1675)
alonkeyval Nov 3, 2024
8d22beb
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 3, 2024
a4a5d34
[GEN-1584]: fix close modal & animations (#1676)
BenElferink Nov 3, 2024
d933798
[GEN-1536]: scramble secret values (#1677)
BenElferink Nov 3, 2024
e53746d
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 3, 2024
2c9c79b
[GEN-1621]: add cancel modal & breakdown overview-drawer files (#1682)
BenElferink Nov 4, 2024
0dab5bd
[GEN-1626]: add mockup for overview filters (#1683)
BenElferink Nov 4, 2024
6fa1955
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 4, 2024
702e71a
[GEN-1641]: added UI for metrics (#1688)
BenElferink Nov 5, 2024
a6b6ec2
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 5, 2024
577ef58
[GEN-1646] Add destination condition and type (#1692)
alonkeyval Nov 5, 2024
746f560
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 5, 2024
0c39a29
[GEN-1642]: get metrics from API (with mockup for dev mode) (#1693)
BenElferink Nov 5, 2024
5c55719
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 5, 2024
a816fda
[GEN-1624]: refactor existing components in preparation for notificat…
BenElferink Nov 6, 2024
c790156
[GEN-1670]: kill redux, use new toasts (#1699)
BenElferink Nov 6, 2024
d9292ff
[GEN-1671]: toast animations + enriched messages (#1701)
BenElferink Nov 6, 2024
834e5ed
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 6, 2024
e15ea9a
[GEN-1672]: add logic for "go to details" button of toast notificatio…
BenElferink Nov 7, 2024
8f1cd3e
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 7, 2024
9f25eb4
[GEN-1668]: add handling for "dirty forms" (#1704)
BenElferink Nov 7, 2024
f4435c0
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 7, 2024
f596073
[GEN-1665]: formatting with prettier instead of eslint (#1705)
BenElferink Nov 10, 2024
b3b5007
[GEN-1629]: boolean store (isPolling) (#1706)
BenElferink Nov 10, 2024
1cd0a4b
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 10, 2024
0bbd34b
[GEN-1679]: added useSourceCRUD hook (#1720)
BenElferink Nov 10, 2024
eec5074
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 10, 2024
d9e8582
[GEN-1669] delete unused files (#1721)
alonkeyval Nov 10, 2024
c94d982
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 10, 2024
f32923b
[GEN-1680]: added new "toggle buttons" component (#1723)
BenElferink Nov 10, 2024
8771192
[GEN-1691] load styled on server (#1725)
alonkeyval Nov 10, 2024
5e3bb02
[GEN-1694]: search overview entities (#1731)
BenElferink Nov 11, 2024
fed3d84
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 11, 2024
b24e7c1
feat: UI tweaks in prep for overview filters
BenElferink Nov 11, 2024
5e078a4
feat: add filter action buttons
BenElferink Nov 11, 2024
5cf7fdd
feat: filter overview by namespace
BenElferink Nov 11, 2024
5cdb31e
feat: filter overview by "kind"
BenElferink Nov 11, 2024
3a371f7
feat: filter over by metrics
BenElferink Nov 11, 2024
d0748e9
feat: add logic for dropdown mutli-select
BenElferink Nov 11, 2024
d7ec9fb
fix: temporary labels for multi select
BenElferink Nov 11, 2024
b42215d
fix: dropdown smaller components
BenElferink Nov 11, 2024
80bb335
feat: multi-labels with remove buttons
BenElferink Nov 11, 2024
d10a8fd
fix: minor edits
BenElferink Nov 11, 2024
ad8323c
fix: filters is now a container
BenElferink Nov 11, 2024
29a9b27
perf: re-use styled components
BenElferink Nov 11, 2024
704e86d
fix: button alignment
BenElferink Nov 11, 2024
51bf1d3
fix: smaller components
BenElferink Nov 11, 2024
5130970
fix: continued cleanup
BenElferink Nov 11, 2024
9e3b772
feat: prepare component for error messages dropdown
BenElferink Nov 11, 2024
c868eab
feat: filter overview by error messages
BenElferink Nov 11, 2024
5f88f86
fix: toggle & dropdown
BenElferink Nov 12, 2024
52a7065
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos …
BenElferink Nov 12, 2024
b6f71fa
Odigos UI beta (#1739)
alonkeyval Nov 12, 2024
d1674a5
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos …
BenElferink Nov 12, 2024
2abe0e4
fix: duplicates
BenElferink Nov 12, 2024
4e19e69
fix: dropdown
BenElferink Nov 12, 2024
b553cda
[GEN-1695]: overview filtering (#1740)
BenElferink Nov 12, 2024
7a5d4b6
Fixed conf with filters (#1742)
alonkeyval Nov 12, 2024
6d2af50
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos …
BenElferink Nov 12, 2024
89ab764
Merge pull request #5 from BenElferink/gen-1695
BenElferink Nov 12, 2024
a109419
Fixed conf with filters (#1743)
alonkeyval Nov 12, 2024
4b9b73a
merge dev (#1745)
alonkeyval Nov 12, 2024
bebba92
Merge dev (#1746)
alonkeyval Nov 12, 2024
5959df5
merge dev (#1747)
alonkeyval Nov 13, 2024
80df692
[GEN-1705]: fast-select for sources (#1749)
BenElferink Nov 14, 2024
539888b
[GEN-1666]: multi-source control (delete many) (#1750)
BenElferink Nov 14, 2024
05f0b0d
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 14, 2024
735ff63
[GEN-1709]: added a notification manager (#1753)
BenElferink Nov 17, 2024
484280a
[GEN-1715]: cleared all errors from styled-components (#1763)
BenElferink Nov 17, 2024
e24f361
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 17, 2024
34c2c74
[GEN-1702] Add odigos UI beta flag (#1760)
alonkeyval Nov 17, 2024
ed0080c
[GEN-1717]: Action header-node border width (#1764)
BenElferink Nov 17, 2024
1bafe47
[GEN-1720]: Fixed modal layout (#1766)
BenElferink Nov 17, 2024
7098118
[GEN-1721]: Close search & filter on press ESCAPE (#1767)
BenElferink Nov 17, 2024
e9fa5d7
[GEN-1722]: Filter button weird focus-UI (#1768)
BenElferink Nov 17, 2024
a8f6655
[GEN-1718]: Notification icon BG (as per Figma) (#1765)
BenElferink Nov 17, 2024
9b886ba
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 17, 2024
293949a
[GEN-1716]: fixed ReactFlow "fit to view" (#1769)
BenElferink Nov 17, 2024
4b7fc72
Fixed ui broken (#1771)
alonkeyval Nov 17, 2024
7776a8f
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 17, 2024
82cec8e
[GEN-1726]: fix $props for Text component (#1772)
BenElferink Nov 17, 2024
b6be431
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 17, 2024
eb960d0
Odigos UI main merge (#1774)
alonkeyval Nov 18, 2024
1b029d6
[GEN-1683]: warning modal - warn again (#1773)
BenElferink Nov 18, 2024
410ab64
[GEN-1732] UI texts (#1777)
alonkeyval Nov 18, 2024
660c915
[GEN-1734]: remove previous notifications of deleted entity (#1775)
BenElferink Nov 18, 2024
a320b6f
[GEN-1699]: update dependencies (#1779)
BenElferink Nov 18, 2024
7eca746
[GEN-1735]: fix header buttons for destination modal (#1780)
BenElferink Nov 18, 2024
a96b706
[GEN-1719]: drawer titles & tooltips (#1781)
BenElferink Nov 18, 2024
887f4b4
Merge current main (#1783)
alonkeyval Nov 19, 2024
4a1b6e4
Merge branch 'main' into odigos-ui-beta
alonkeyval Nov 19, 2024
47da6bc
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
aa65e0b
Merge current main (#1784)
alonkeyval Nov 19, 2024
7ab5c25
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
95a3bb3
Merge current main (#1785)
alonkeyval Nov 19, 2024
0fc748b
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
0a5b64d
fix: YAML parse error
BenElferink Nov 19, 2024
c666fab
e2e test fixes (#1787)
alonkeyval Nov 19, 2024
5250dbd
Merge current main (#1788)
alonkeyval Nov 19, 2024
68a0600
fix: YAML parse error (#1786)
BenElferink Nov 19, 2024
6fdba36
Fix tests timeouts (#1789)
BenElferink Nov 19, 2024
a8063a1
Merge branch 'main' into odigos-ui-beta
BenElferink Nov 19, 2024
86c1d84
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
8a3dc3f
Merge branch 'odigos-ui-beta' into main
BenElferink Nov 19, 2024
8d97ab5
fix tests YAML syntax (#1790)
BenElferink Nov 19, 2024
c40fa7f
fix: remove non-existant files from tests
BenElferink Nov 19, 2024
cb4b96c
Merge branch 'odigos-ui-beta' into main
BenElferink Nov 19, 2024
e32f7d9
fix: remove again
BenElferink Nov 19, 2024
3fdab6c
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
155a1a5
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
dbd5690
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
0c68c8c
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
ed87a46
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
a5de5e9
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
def460c
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
7a64bd9
fix: state of "recordedRows" in "monitors" checkbox list
BenElferink Nov 21, 2024
2a43875
[GEN-1774]: fix text in "SectionTitle" of add-action-form (#1813)
BenElferink Nov 21, 2024
a1d4e66
[GEN-1786]: fix max value for "ErrorSampler" (#1815)
BenElferink Nov 21, 2024
195e50a
[GEN-1781]: fix state of "recordedRows" in "monitors" checkbox list (…
BenElferink Nov 21, 2024
191e834
[GEN-1775]: fix initial values for input lists (#1817)
BenElferink Nov 21, 2024
6ef2a04
[GEN-1776]: re-categorize actions in add-action-form (#1814)
BenElferink Nov 21, 2024
12584d9
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 21, 2024
28c3eee
[GEN-1772]: fix "Transition" re-renders (#1819)
BenElferink Nov 21, 2024
42ea556
[GEN-1767]: fix test-connection (#1821)
BenElferink Nov 21, 2024
cbbf379
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 21, 2024
c0939f7
[GEN-1758]: fix adding destinations (onboard/overview) (#1832)
BenElferink Nov 25, 2024
85508e1
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 25, 2024
bcd3245
fix: add comment
BenElferink Nov 25, 2024
92b3456
[GEN-1796]: fix padding for text-area (#1844)
BenElferink Nov 25, 2024
bfbae2f
[GEN-1788] start polling CP on 1st mount (#1845)
BenElferink Nov 25, 2024
077617c
[GEN-1770]: changed text for service.name tooltip (#1846)
BenElferink Nov 25, 2024
186b890
[GEN-1746]: fix scrollbar issues (#1848)
BenElferink Nov 25, 2024
6cda9b3
[GEN-1782]: fix tooltip UI & behavior (#1849)
BenElferink Nov 25, 2024
7e2e4f1
[GEN-1777]: change text in actions modal (#1850)
BenElferink Nov 25, 2024
b182223
Merge branch 'main' into ui-bugs-party
BenElferink Nov 25, 2024
e5ec494
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 25, 2024
2eae7e9
[GEN-1797]: keep drawer open after update (#1859)
BenElferink Nov 26, 2024
9bb0916
[GEN-1779]: fix UI texts (#1860)
BenElferink Nov 26, 2024
9707d28
[GEN-1762]: fix auto-focus for input lists (#1861)
BenElferink Nov 26, 2024
47fa3b3
[GEN-1760]: preserve filters-state for destinations modal (#1862)
BenElferink Nov 26, 2024
9d2bcf9
[GEN-1793]: display source & destination errors in drawer (#1863)
BenElferink Nov 26, 2024
1059eae
[GEN-1780]: fix text for warning modals (#1864)
BenElferink Nov 26, 2024
ee42a22
[GEN-1757]: fix styles for disabled button (#1866)
BenElferink Nov 27, 2024
f75e804
[GEN-1795]: add filters by programming language (#1869)
BenElferink Nov 27, 2024
6bf3e28
[GEN-1798]: show total counts when filters are active (#1870)
BenElferink Nov 27, 2024
21b5af8
[GEN-1794]: fix "new/first" text for nodeType=add (#1871)
BenElferink Nov 27, 2024
6d2c4ff
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos i…
BenElferink Nov 27, 2024
480dcb2
[GEN-1787]: descriptive titles for drawer "details card" (#1872)
BenElferink Nov 27, 2024
b374099
Merge branch 'main' into ui-bugs-party
BenElferink Nov 27, 2024
594b12e
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 27, 2024
dd78911
[GEN-1763]: show destination name in destination form (#1874)
BenElferink Nov 27, 2024
e9958d6
prepare code for form error handling (and fix wrongful-merge-conflict…
BenElferink Nov 27, 2024
b4163e1
fix: startPolling() and destination modal/drawer (#1877)
BenElferink Nov 27, 2024
d003e9e
Merge branch 'main' into ui-bugs-party
alonkeyval Nov 28, 2024
82c9418
[GEN-1761]: manage form errors (#1878)
BenElferink Nov 28, 2024
6896d9f
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
f370787
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
b0d2221
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
01ae315
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
1550758
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
11ea89b
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
09a38ad
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
77fe743
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
d1b5c72
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 28, 2024
ed874b4
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 1, 2024
00f1f01
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 1, 2024
92b7e1a
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 1, 2024
cae41ca
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 1, 2024
dba7dac
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 1, 2024
cc06232
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 2, 2024
2fc5b41
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 2, 2024
2c47abd
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 2, 2024
880204f
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 4, 2024
167b9ee
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 4, 2024
04ff3f7
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 4, 2024
c057945
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 4, 2024
f88150d
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 5, 2024
5ee9f3c
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Dec 5, 2024
a895c4f
feat: add a Cypress test for onboarding-flow
BenElferink Dec 5, 2024
c018f32
Merge branch 'main' into gen-1927
BenElferink Dec 5, 2024
1f687b5
Merge branch 'main' of https://github.com/odigos-io/odigos into gen-1927
BenElferink Dec 5, 2024
f32a054
feat: install odigos & demo-app in UI E2E tests
BenElferink Dec 5, 2024
af8f974
fix: attempt to fix "no default namespace" in gitHub workflow
BenElferink Dec 5, 2024
b982098
Merge branch 'main' into gen-1927
BenElferink Dec 5, 2024
f05a427
Merge branch 'main' of https://github.com/odigos-io/odigos into gen-1927
BenElferink Dec 5, 2024
83365dc
Merge branch 'gen-1927' of https://github.com/BenElferink/odigos into…
BenElferink Dec 5, 2024
98dd23d
fix: remove "packageManager" from package.json
BenElferink Dec 5, 2024
8bd626b
fix: attempt to fix "actual resource not found" for "pipeline ready" …
BenElferink Dec 5, 2024
a22de1e
Merge branch 'main' into gen-1927
BenElferink Dec 5, 2024
3cdb575
Merge branch 'main' of https://github.com/odigos-io/odigos into gen-1927
BenElferink Dec 5, 2024
2d7d44d
fix: attempt to fix cypress comms w/ sources
BenElferink Dec 5, 2024
0173a23
fix: cypress not found
BenElferink Dec 5, 2024
e14827d
fix: test-error "Cypress failed to verify that your server is running."
BenElferink Dec 5, 2024
cd74c0e
fix: port
BenElferink Dec 5, 2024
9117d46
chore: cleanup
BenElferink Dec 5, 2024
ac0a360
fix: start UI hangs
BenElferink Dec 5, 2024
39d11cd
fix: deps in ui-e2e-tests
BenElferink Dec 5, 2024
1ba75e1
fix: cypress not found
BenElferink Dec 5, 2024
53bc69e
fix: use different deployments in UI tests
BenElferink Dec 5, 2024
f706a31
fix: --version e2e-test
BenElferink Dec 5, 2024
7001624
feat: create seperate workflow for UI tests
BenElferink Dec 5, 2024
dc3e2e3
fix: path
BenElferink Dec 5, 2024
ad5c6b5
fix: revert previous commit
BenElferink Dec 5, 2024
deeba0b
fix: hung UI test
BenElferink Dec 5, 2024
e3fd228
fix: cleanup
BenElferink Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const DestinationListItem: React.FC<DestinationListItemProps> = ({ item,
};

return (
<ListItem onClick={() => onSelect(item)}>
<ListItem id={`destination-${item.type}`} onClick={() => onSelect(item)}>
<ListItemContent>
<DestinationIconWrapper>
<Image src={item.imageUrl} width={20} height={20} alt='destination' />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const DestinationsList: React.FC<DestinationsListProps> = ({ items, setSelectedI
<ListsWrapper key={`category-${item.name}`}>
<SectionTitle size='small' title={capitalizeFirstLetter(item.name)} description={item.description} />
{item.items.map((categoryItem) => (
<DestinationListItem key={`destination-${categoryItem.displayName}`} item={categoryItem} onSelect={setSelectedItems} />
<DestinationListItem key={`destination-${categoryItem.type}`} item={categoryItem} onSelect={setSelectedItems} />
))}
</ListsWrapper>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const SourcesList: React.FC<Props> = ({
const hasFilteredSources = !!filtered.length;

return (
<Group key={`namespace-${namespace}`} $selected={isNamespaceAllSourcesSelected} $isOpen={isNamespaceSelected && hasFilteredSources}>
<Group id={`namespace-${namespace}`} key={`namespace-${namespace}`} $selected={isNamespaceAllSourcesSelected} $isOpen={isNamespaceSelected && hasFilteredSources}>
<NamespaceItem $selected={isNamespaceAllSourcesSelected} onClick={() => onSelectNamespace(namespace)}>
<FlexRow>
<Checkbox disabled={namespaceLoaded && !isNamespaceCanSelect} initialValue={isNamespaceAllSourcesSelected} onChange={(bool) => onSelectAll(bool, namespace)} />
Expand Down
6 changes: 4 additions & 2 deletions frontend/webapp/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import Cypress from 'cypress';

const PORT = 3000;
const BASE_URL = `http://localhost:${PORT}`;

const config: Cypress.ConfigOptions = {
e2e: {
// this uses the "production" build, if you want to use the "development" build, you can use "port=3000" instead
baseUrl: 'http://localhost:3001',
setupNodeEvents(on, config) {},
baseUrl: BASE_URL,
supportFile: false,
waitForAnimations: true,
},
Expand Down
10 changes: 10 additions & 0 deletions frontend/webapp/cypress/e2e/connection.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
describe('Root Connection', () => {
it('Should fetch a config with GraphQL. A redirect of any kind confirms Frontend + Backend connections.', () => {
cy.visit('/');

// If GraphQL failed to fetch the config, the app will remain on "/", thereby failing the test.
cy.location().should((loc) => {
expect(loc.pathname).to.be.oneOf(['/choose-sources', '/overview']);
});
});
});
29 changes: 25 additions & 4 deletions frontend/webapp/cypress/e2e/onboarding.cy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
describe('Onboarding', () => {
it('Visiting the root path fetches a config with GraphQL. A fresh install will result in a redirect to the start of onboarding, confirming Front + Back connections', () => {
cy.visit('/');
// If backend connection failed for any reason, teh default redirect would be "/overview"
cy.location('pathname').should('eq', '/choose-sources');
it('Should contain at least a "default" namespace', () => {
cy.visit('/choose-sources');

cy.get('#no-data').should('not.exist');
cy.get('#namespace-default').should('exist');
});

it('Should contain at least a "Jaeger" destination', () => {
cy.visit('/choose-destination');

cy.get('button').contains('ADD DESTINATION').click();
cy.get('#no-data').should('not.exist');

cy.get('input').should('have.attr', 'placeholder', 'Search...').type('Jaeger');
cy.get('#destination-jaeger').should('exist');
});

it('Should allow the user to pass every step, and end-up on the Overview page.', () => {
cy.visit('/choose-sources');

cy.get('button').contains('NEXT').click();
cy.location('pathname').should('eq', '/choose-destination');

cy.get('button').contains('DONE').click();
cy.location('pathname').should('eq', '/overview');
});
});
9 changes: 2 additions & 7 deletions frontend/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@
"version": "0.1.0",
"private": true,
"scripts": {
"back:build": "cd .. && go build -o ./odigos-backend",
"back:start": "cd .. && ./odigos-backend --port 8085 --debug --address 0.0.0.0",
"predev": "rm -rf .next",
"dev": "next dev",
"prebuild": "rm -rf out",
"build": "next build",
"start": "next start",
"lint": "next lint --fix",
"cy": "cypress run --e2e -q",
"cy:run": "cypress run --e2e -q",
"cy:open": "cypress open --e2e -b electron"
},
"dependencies": {
Expand Down Expand Up @@ -39,6 +35,5 @@
"eslint-config-next": "15.0.3",
"postcss": "^8.4.49",
"typescript": "5.6.3"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Container = styled.div`

const NoDataFound: React.FC<NoDataFoundProps> = ({ title = 'No data found', subTitle = 'Check your search phrase and try one more time' }) => {
return (
<Container>
<Container id='no-data'>
<TitleWrapper>
<Image src='/icons/common/no-data-found.svg' alt='no-found' width={16} height={16} />
<Title>{title}</Title>
Expand Down
125 changes: 0 additions & 125 deletions tests/common/odigos_ui.sh

This file was deleted.

53 changes: 43 additions & 10 deletions tests/e2e/ui/chainsaw-test.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,56 @@
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
name: ui-cypress
name: ui
spec:
description: Run E2E tests against Odigos UI using Cypress
skipDelete: true
steps:
- name: Start the UI
- name: Install Odigos CLI
try:
- script:
timeout: 300s
content: ../../common/odigos_ui.sh start
- name: Test the UI
timeout: 60s
content: |
../../../cli/odigos install --version e2e-test

- name: Install App - Simple Demo
try:
- script:
timeout: 300s
content: ../../common/odigos_ui.sh test
- name: End the UI
timeout: 120s
content: |
kubectl apply -f https://raw.githubusercontent.com/odigos-io/simple-demo/main/kubernetes/deployment.yaml
kubectl wait --for=condition=available --timeout=120s deployment --all -n default

- name: Add Destination - Jaeger
try:
- script:
timeout: 60s
content: ../../common/odigos_ui.sh stop
timeout: 120s
content: |
kubectl apply -f https://raw.githubusercontent.com/odigos-io/simple-demo/main/kubernetes/jaeger.yaml
kubectl wait --for=condition=available --timeout=120s deployment/jaeger -n tracing

- name: Start UI from CLI
try:
- script:
timeout: 10s
content: |
nohup ../../../cli/odigos ui --beta > odigos-ui.log 2>&1 &
sleep 5

- name: Wait for UI
try:
- script:
timeout: 30s
content: |
for i in {1..10}; do
curl -s http://localhost:3000 && break || sleep 2
done

- name: Run Cypress tests
try:
- script:
timeout: 300s
content: |
cd ../../../frontend/webapp
yarn install
yarn cy:run
Loading