Skip to content

Commit

Permalink
refactor(#37): change file name from viewAttribute to measurementTool
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinc committed Oct 27, 2025
1 parent 7a197e4 commit 8a16a71
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
describe('View Attribute', () => {
it('Places the view attribute', () => {
describe('Measurement tool', () => {
it('Places the measurement point', () => {
cy.visit('http://localhost:5173/#')

cy.get('#tools img[data-i18n="[title]tt.point_measurement"]').click()
cy.get('#potree_render_area canvas[tabindex="2222"]').click()

// Verify attribute was created
// Verify measurement was created
cy.get('#scene_object_properties').should('be.visible')
cy.get('#g_point_body').children().should('have.length.at.least', 1)
})

it('Delete view attribute ', function () {
it('Delete measurement point', function () {
cy.visit('http://localhost:5173/#')

cy.get('#tools img[data-i18n="[title]tt.point_measurement"]').click()
Expand All @@ -21,14 +21,14 @@ describe('View Attribute', () => {
cy.get('#g_point_body button.m-row-delete').click()
})

it('Copy attribute positions ', function () {
it('Copy measurement point positions', function () {
cy.visit('http://localhost:5173/#')
cy.get('#tools img[data-i18n="[title]tt.point_measurement"]').click()
cy.get('#potree_render_area canvas[tabindex="2222"]').click()
cy.get('#scene_object_properties [name="copy"]').click()
})

it('Switch between attributes ', function () {
it('Switch between measurement points', function () {
cy.visit('http://localhost:5173/#')
// Create three point measurements
cy.get('#tools img[data-i18n="[title]tt.point_measurement"]').click()
Expand Down

0 comments on commit 8a16a71

Please sign in to comment.