testlens-app[bot] commented on PR #15792:
URL: https://github.com/apache/grails-core/pull/15792#issuecomment-4855490379

   ## 🚨 TestLens detected 1 failed test 🚨
   
   Here is what you can do:
   
   1) Inspect the test failures carefully.
   2) If you are convinced that some of the tests are flaky, you can mute them 
below.
   3) Finally, trigger a rerun by checking the rerun checkbox.
   
   ### Test Summary
   
   #### [CI / Spring Security Config Functional Tests 
\(basic\)](https://github.com/apache/grails-core/actions/runs/28520901197/job/84544590092?pr=15792)
 > 
:grails-test-examples-spring-security-core-functional-test-app:integrationTest
   
   | Test | Runs |
   |---|---|
   | BasicAuthSecuritySpec > check allowed for admin1 | ❌ |
   
   🏷️ Commit: ee2b4817da63a6212dc30db167bcad10806f61d1
   ▶️ Tests:  2599 executed
   🟡 Checks: 13/47 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>BasicAuthSecuritySpec > check allowed for admin1</strong> 
(:grails-test-examples-spring-security-core-functional-test-app:integrationTest 
in <a 
href="https://github.com/apache/grails-core/actions/runs/28520901197/job/84544590092?pr=15792";>CI
 / Spring Security Config Functional Tests (basic)</a>)</summary>
   
   ```
   Condition not satisfied:
   
   pageSource.contains('you have ROLE_ADMIN')
   |          |
   |          false
   <html lang="en" class="no-js"><head>
                <meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8">
                <title>Login</title>
                
        <meta name="layout" content="main">
        
        <style type="text/css" media="screen">
    
        #login {
                margin: 15px 0px;
                padding: 0px;
                text-align: center;
                font-family: Arial, Helvetica, sans-serif;
        }
    
        #login .inner {
                width: 340px;
                padding-bottom: 6px;
                margin: 60px auto;
                text-align: left;
                border: 1px solid #aab;
                background-color: #f0f0fa;
                -moz-box-shadow: 2px 2px 2px #eee;
                -webkit-box-shadow: 2px 2px 2px #eee;
                -khtml-box-shadow: 2px 2px 2px #eee;
                box-shadow: 2px 2px 2px #eee;
        }
    
        #login .inner .fheader {
                padding: 18px 26px 14px 26px;
                background-color: #f7f7ff;
                margin: 0px 0 14px 0;
                color: #2e3741;
                font-size: 18px;
                font-weight: bold;
        }
    
        #login .inner .cssform p {
                clear: left;
                margin: 0;
                padding: 4px 0 3px 0;
                padding-left: 105px;
                margin-bottom: 20px;
                height: 1%;
        }
    
        #login .inner .cssform input[type="text"] {
                width: 75%;
        }
    
        #login .inner .cssform label {
                font-weight: bold;
                float: left;
                text-align: right;
                margin-left: -105px;
                width: 110px;
                padding-top: 3px;
                padding-right: 10px;
        }
    
        #remember_me_holder {
                padding-left: 120px;
        }
    
        #submit {
                margin-left: 15px;
        }
    
        #remember_me_holder label {
                float: none;
                margin-left: 0;
                text-align: left;
                width: 200px
        }
    
        #login .inner .login_message {
                padding: 6px 25px 20px 25px;
                color: #c33;
        }
    
        #login .inner .text_ {
                width: 75%;
        }
    
        #login .inner .chk {
                height: 12px;
        }
    
        #passwordToggler {
                padding: 3px 4px;
                cursor: pointer;
        }
        </style>
    
        </head>
        <body>
                
   <div id="login">
        <div class="inner">
                <div class="fheader">Please Login</div>
    
                
    
                <form action="/login/authenticate" method="POST" id="loginForm" 
class="cssform" autocomplete="off">
                        <p>
                                <label for="username">Username:</label>
                                <input type="text" class="text_" 
name="username" id="username" autocapitalize="none">
                        </p>
    
                        <p>
                                <label for="password">Password:</label>
                                <input type="password" class="text_" 
name="password" id="password">
                                <i id="passwordToggler" title="toggle password 
display" onclick="passwordDisplayToggle()">👁</i>
                        </p>
    
                        <p id="remember_me_holder">
                                <input type="checkbox" class="chk" 
name="remember-me" id="remember_me">
                                <label for="remember_me">Remember me</label>
                        </p>
    
                        <p>
                                <input type="submit" id="submit" value="Login">
                        </p>
                </form>
        </div>
   </div>
   <script type="text/javascript">
        document.addEventListener("DOMContentLoaded", function(event) {
                document.forms['loginForm'].elements['username'].focus();
        });
    
        function passwordDisplayToggle() {
                var toggleEl = document.getElementById("passwordToggler");
                var eyeIcon = '\u{1F441}';
                var xIcon = '\u{2715}';
                var passEl = document.getElementById("password");
    
                if (passEl.type === "password") {
                        toggleEl.innerHTML = xIcon;
                        passEl.type = "text";
                } else {
                        toggleEl.innerHTML = eyeIcon;
                        passEl.type = "password";
                }
        }
   </script>
    
        
    
   </body></html>
   
        at specs.BasicAuthSecuritySpec.check allowed for 
admin1(BasicAuthSecuritySpec.groovy:227)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 BasicAuthSecuritySpec > check allowed for admin1 <!-- 
uniqueId=[engine:spock]/[spec:specs.BasicAuthSecuritySpec]/[feature:$spock_feature_2_3]
 -->
   
   Reuse successful test results:
   
   🔲 ♻️ Only rerun the tests that failed or were muted before
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at [testlens.app](https://testlens.app)._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to