-
Notifications
You must be signed in to change notification settings - Fork 0
8 point filtering #39
Merged
81d2c465c1e79b17ea5c062ba02f7c65d24ab30
merged 11 commits into
dev
from
8-point-filtering
Oct 24, 2025
+741
−141
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e2b778c
feat(#8): :sparkles: Made functionaliry for Accepted filtering
eae6463
perf(#8): :zap: Optimize elevation control and accepted filtering
3b79c44
style(#8): :bulb: Update the comments and clean the code
76a18d8
test(#8): :test_tube: Made tests for elevation control and accepted f…
7fcbf1e
fix(#8): :bug: Elevation needs to be activated upon initiation
9ef64a3
feat(#8): :sparkles: Filter based on acceted/not accepted
82aed3a
chore:
2ea2c33
revert(#8): :fire: Remove elevation control and accepted filtering fi…
8b54df5
refactor(#8): :adhesive_bandage: Adjusted to PR comments
c7c56a4
refactor: :twisted_rightwards_arrows: Resolve mergeconflict with dev …
c8e0895
refactor: :bug: One missing import fixed from the merge in the prev c…
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 hidden or 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,22 @@ | ||
| describe('Accepted filtering', () => { | ||
| it('test accepted filter button', function () { | ||
| cy.visit('http://localhost:5173/#') | ||
| cy.get('#doAcceptedFilter').click() | ||
| }) | ||
| }) | ||
|
|
||
| describe('Elevation Control', () => { | ||
| it('test elevation control', function () { | ||
| cy.visit('http://localhost:5173/#') | ||
| cy.get('#btnDoElevationControl').click() | ||
|
|
||
| cy.get( | ||
| '#elevation_gradient_scheme_selection span:nth-child(8) rect' | ||
| ).click() | ||
| cy.get( | ||
| '#elevation_gradient_scheme_selection span:nth-child(3) rect' | ||
| ).click() | ||
|
|
||
| cy.get('#sldHeightRange').click() | ||
| }) | ||
| }) | ||
81d2c465c1e79b17ea5c062ba02f7c65d24ab30 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or 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,29 @@ | ||
| describe('Globe Rendering and Interaction Test', () => { | ||
| it('Check that the globe is rendered correctly', () => { | ||
| cy.visit('http://localhost:5173/#') | ||
| cy.wait(6000) | ||
|
|
||
| cy.window().then((win) => { | ||
| const cv = win.cesiumViewer | ||
| expect(cv).to.exist | ||
| expect(cv.scene.globe.show).to.equal(true) | ||
|
|
||
| expect(cv.scene.imageryLayers.length).to.be.at.least(0) | ||
| }) | ||
| }) | ||
|
|
||
| it('Render the globe and test interactions', () => { | ||
| cy.visit('http://localhost:5173/#') | ||
| cy.wait(6000) | ||
|
|
||
| cy.window({ timeout: 20000 }).its('cesiumViewer').should('exist') | ||
| cy.get('#cesiumContainer').should('exist') | ||
| }) | ||
81d2c465c1e79b17ea5c062ba02f7c65d24ab30 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| it('Test interactions', () => { | ||
| cy.visit('http://localhost:5173/#') | ||
| cy.wait(500) | ||
| cy.get('#potree_render_area canvas[tabindex="2222"]').click() | ||
| cy.get('#potree_render_area canvas[tabindex="2222"]').click() | ||
| }) | ||
81d2c465c1e79b17ea5c062ba02f7c65d24ab30 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }) | ||
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.