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

Test Projects in Web IDE #238

Open
67 tasks
xpyctumo opened this issue Feb 4, 2025 · 0 comments
Open
67 tasks

Test Projects in Web IDE #238

xpyctumo opened this issue Feb 4, 2025 · 0 comments

Comments

@xpyctumo
Copy link

xpyctumo commented Feb 4, 2025

In order to make sure that the projects in Web IDE work correctly it is necessary to validate next behaviours:

  • Create project
    • "Create a new project" button will be present if user has no projects in Web IDE
    • There is no limits in projects
    • No limits in title length
      • Duplicating names will be renamed automatically by adding postfix '(x)'
      • Title is required
    • Language selection is working propertly, user can choose
    • User can select template for create new project
    • Project is created and added to projects list
    • Project automatically selected after his creation
    • User can delete created project recently
    • User can export project
      • via "Download all projects" button
      • via "Download %projectName%" button
    • User can create files and folders
    • User can select any file in the project and start writing code in the IDE
  • Search projects
    • User can search projects in dropdown select by adding part of names his project
    • User can select found project
    • After selection, the project opens
    • "No projects found" placeholder if no search results
  • Delete project
    • User MUST be warned via alert
      • User may change his mind about deleting the project - button Cancel is required
    • The project is deleted, it is removed from the project list, all files are cleaned up
  • Download all projects
    • User can export his code into .zip file
      • Zip file will contain all projects from Web IDE (no exceptions, all paths must be saved)
      • Zip must be passwordless and must not be corrupted
  • Creating folders and files
    • Folder is created and the user can type the name immediately
    • File is created and the user can type the name immediately
    • The name must support spaces and basic extensions
      • .tact
      • .ts
      • .js
      • .tsx
      • User can share the contents of the file (only supported types)
        • Link started with "https://ide.ton.org/?code=" will be generated and copied to clipboard automatically
        • Link must opens with "temp" project
        • File and the name and contents of the file must be identical to the one you shared
        • User can "Save" shared project with custom name
          • Project saves and automatically selects
          • Temp project may be removed from workspace after save (?)
    • User can create folders and files in subfolders
    • User can edit file or folder names
  • Import from GitHub
    • Title, language, Github Repository URL for new project are required fields
    • Only links to github.com must be supported
    • The project should be copied identically to the contents of the project on github
    • User can delete created project recently
    • User can export project
      • via "Download all projects" button
      • via "Download %projectName%" button
    • User can create files and folders
    • User can select any file in the project and start writing code in the IDE
  • Import from local
    • User can import his .zip file into Web IDE
      • Project must be imported with user provided in title project
      • The project should import quickly and without problems
      • After import, the project is automatically selected
      • User can delete created project recently
      • User can export project
        • via "Download all projects" button
        • via "Download %projectName%" button
      • User can create files and folders
      • User can select any file in the project and start writing code in the IDE
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

No branches or pull requests

1 participant