Skip to content

Commit 6db2d46

Browse files
authored
fix: update ag-grid to use latest version as 27.3.0 is no longer hosted (#913)
* fix: update ag-grid to use latest version as 27.3.0 is no longer hosted * additionally update lit CDN
1 parent 4843068 commit 6db2d46

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/testing-dom__sorting-table/cypress/e2e/spec.cy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('Sorting table', () => {
1818
cy.contains('.ag-header-cell-label', 'Price').click()
1919
// check ↑ is visible
2020
cy.contains('.ag-header-cell-label', 'Price')
21-
.find('[ref=eSortAsc]').should('be.visible')
21+
.find('[data-ref=eSortAsc]').should('be.visible')
2222

2323
// verify the prices in the column are indeed in sorted order
2424
const cellsToPriceObjects = (cells$) => {

examples/testing-dom__sorting-table/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<head>
55
<title>Ag-Grid Basic Example</title>
6-
<script src="https://unpkg.com/ag-grid-community@27.3.0/dist/ag-grid-community.min.js"></script>
6+
<script src="https://unpkg.com/ag-grid-community@33.2.1/dist/ag-grid-community.min.js"></script>
77
<script src="main.js"></script>
88
</head>
99

examples/testing-dom__sorting-table/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ const gridOptions = {
2323
document.addEventListener('DOMContentLoaded', function () {
2424
const gridDiv = document.querySelector('#myGrid')
2525

26-
new agGrid.Grid(gridDiv, gridOptions)
26+
agGrid.createGrid(gridDiv, gridOptions)
2727
})

0 commit comments

Comments
 (0)