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

Account update leaf 4559 - Test Scenario #1 #15

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

22MGreen
Copy link

This is the end2end test to Verify when a user account is disabled and the previous groups and positions are moved to the new account. This first scenario accounts for when there are not any groups or positions. I am verifying that the process runs smoothly and there are not any groups or positions that are listed and there are not any errors when running this scenario. Please only review acctUpdate file.

Copy link
Contributor

@shaneodd shaneodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not able to get this to work properly the branch this test is testing is on the master branch so I am not sure if there is something else with the code or something with the test.

Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)

Locator: locator('#grid_groups_info')
- Expected string  -  1
+ Received string  + 15

- No groups found
+
+        Export
+     
+     
+     
+     
+       Group NameCurrent UsernameSelect All Groups
+                                 
+                             
+       Aluminum BooksKozey, Kirstinvtriujtalisha (nexus)Select
+                                         
+                                     
+       
+     
+     
Call log:
  - expect.toContainText with timeout 5000ms
  - waiting for locator('#grid_groups_info')
  -   locator resolved to <div class="grid_table" id="grid_groups_info"></div>
  -   unexpected value ""
  -   locator resolved to <div class="grid_table" id="grid_groups_info"></div>
  -   unexpected value ""
  -   locator resolved to <div class="grid_table" id="grid_groups_info">…</div>
  -   unexpected value "
       Export
    
    
    
    
      Group NameCurrent UsernameSelect All Groups
                                
                            
      Aluminum BooksKozey, Kirstinvtriujtalisha (nexus)Select
                                        
                                    
      
    
    "
  -   locator resolved to <div class="grid_table" id="grid_groups_info">…</div>
  -   unexpected value "
       Export
    
    
    
    
      Group NameCurrent UsernameSelect All Groups
                                
                            
      Aluminum BooksKozey, Kirstinvtriujtalisha (nexus)Select
                                        
                                    
      
    
    "
  -   locator resolved to <div class="grid_table" id="grid_groups_info">…</div>
  -   unexpected value "
       Export
    
    
    
    
      Group NameCurrent UsernameSelect All Groups
                                
                            
      Aluminum BooksKozey, Kirstinvtriujtalisha (nexus)Select
                                        
                                    
      
    
    "
  -   locator resolved to <div class="grid_table" id="grid_groups_info">…</div>
  -   unexpected value "
       Export
    
    
    
    
      Group NameCurrent UsernameSelect All Groups
                                
                            
      Aluminum BooksKozey, Kirstinvtriujtalisha (nexus)Select
                                        
                                    
      
    
    "
  -   locator resolved to <div class="grid_table" id="grid_groups_info">…</div>
  -   unexpected value "
       Export
    
    
    
    
      Group NameCurrent UsernameSelect All Groups
                                
                            
      Aluminum BooksKozey, Kirstinvtriujtalisha (nexus)Select
                                        
                                    
      
    
    "
  -   locator resolved to <div class="grid_table" id="grid_groups_info">…</div>
  -   unexpected value "
       Export
    
    
    
    
      Group NameCurrent UsernameSelect All Groups
                                
                            
      Aluminum BooksKozey, Kirstinvtriujtalisha (nexus)Select
                                        
                                    
      
    
    "
  -   locator resolved to <div class="grid_table" id="grid_groups_info">…</div>
  -   unexpected value "
       Export
    
    
    
    
      Group NameCurrent UsernameSelect All Groups
                                
                            
      Aluminum BooksKozey, Kirstinvtriujtalisha (nexus)Select
                                        
                                    
      
    
    "


  64 |   //Veirfy Goups and Positions is empty have value
  65 |
> 66 |   await expect (page1.locator('#grid_groups_info')).toContainText('No groups found');
     |                                                     ^
  67 |
  68 |  await expect (page1.locator('#grid_positions_info')).toContainText('No Positions found');
  69 |  

    at /usr/app/leaf/tests/acctUpdateMultiple.spec.ts:66:53

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.

2 participants