Uploaded image for project: 'onedata'
  1. onedata
  2. VFS-10797

Acceptance tests: file list polling

XMLWordPrintable

      • Icon: Task Task
      • Resolution: Fixed
      • Icon: Minor Minor
      • None
      • None
      • None
      • None
      • Sprint 240, Sprint 241, Sprint 242, Sprint 243, Sprint 244, Sprint 245, Sprint 246, Sprint 247

        Przetestować auto-odświeżanie. Czyli jeśli w jednym oknie tworzymy/wyrzucamy/renamujemy plik to w drugim oknie powinno być widać zmianę w ciągu max. 10 sekund.

        Przykładowy test - dodanie nowego pliku:

          Scenario: User sees file that was uploaded in another window after a while without refresh
            When user of browser1 clicks "Files" of "space1" space in the sidebar
            And user of browser1 sees file browser in files tab in Oneprovider page
            And user of browser1 sees that items named ["file_001", "file_002"] are currently visible in file browser
            And user of browser2 clicks "Files" of "space1" space in the sidebar
            And user of browser2 sees file browser in files tab in Oneprovider page
            And user of browser2 uses upload button from file browser menu bar to upload local file "file_0011.txt" to remote current dir
            And user of browser1 is idle for 10 seconds
            Then user of browser1 sees that item named "file_0011.txt" is currently visible in file browser
        

        Można też zrobić test, w którym mamy 200 plików i jeden użytkownik usuwa pierwsze 100 plików. Drugi wtedy widzi automatycznie tą zmianę i widzi pliki od 100-200.

                  wojciech Wojciech Szmelich
                  plgjliput Jakub Liput
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Created:
                    Updated:
                    Resolved: