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

Issue 1284: get css locators from backend #1732

Merged
merged 15 commits into from
May 13, 2024

Conversation

Iogsotot
Copy link
Contributor

@Iogsotot Iogsotot commented May 13, 2024

Features

  • Updated CSS selector generation to activate when 'CSS selector' is selected in Page Object config.
  • Enhanced throttling mechanisms for improved performance.
  • Implemented functionality to retrieve CSS from the backend via WebSocket.
  • Added functionality to generate unique CSS selectors.
  • Updated properties for Locator Icon to enhance interface interactions.
  • Optimized HTML by removing script tags and minimizing content before sending to the backend.

Refactors

  • General code cleanup including removing redundant code, fixing naming conventions, and increasing readability.
  • Updated webSocketMessageHandler.ts with additional types for enhanced code safety.
  • Rewrote addPageObject.thunk.js in TypeScript to improve maintainability and type safety.
  • Minor adjustments including typo corrections and type fixes across various modules.
  • Remove taskStatus filed from locator.locatorValue

Fixes

  • Fixed issue where CSS selector generation did not trigger appropriately.
  • Removed double stringification of backend messages and corrected associated types.

@Iogsotot Iogsotot self-assigned this May 13, 2024
@Iogsotot Iogsotot force-pushed the issue_1284-get-css-locators-from-backend branch from 5a5211a to 10702f5 Compare May 13, 2024 10:02
@Iogsotot Iogsotot merged commit eed609a into master May 13, 2024
2 of 3 checks passed
@Iogsotot Iogsotot deleted the issue_1284-get-css-locators-from-backend branch May 13, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[US-15-1] Фоновый расчёт CSS селекторов - UI part
1 participant