Enhance loading state logging and refactor related methods#1908
Merged
HelenaAdrignoli merged 6 commits intorelease/v2.7.0rc1from Apr 14, 2026
Merged
Enhance loading state logging and refactor related methods#1908HelenaAdrignoli merged 6 commits intorelease/v2.7.0rc1from
HelenaAdrignoli merged 6 commits intorelease/v2.7.0rc1from
Conversation
…eck in WebappInternal
…nd update calls to use default value
…ameter and simplify waiting logic
…usage and parameters
HelenaAdrignoli
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refatoração: Consolidação e Melhoria do Método
po_loading()Resumo
Este PR refatora o método interno
_po_loading()para consolidar o tratamento de estado de carregamento em toda a estrutura POUI, introduzindo melhorias arquiteturais e documentação.Objetivos
wait_element()da framework_para evitar uso externoMudanças Realizadas
1. Refatoração da Assinatura e Implementação do Método
_para indicar método internoselector: str = ''e tipo de retorno-> Nonewait_element()consolidado da framework'body')wait_element()2. Locais de Chamada Atualizados (6 locações)
a.
return_table()- Linha 4524Justificativa: Removido seletor hardcoded; agora usa escopo padrão (corpo inteiro)
b.
_set_browse_program()- Linha 5385Justificativa: Simplificado para comportamento padrão após busca de container dinâmico
c.
_filter_thf_browse()- Linha 5673 (NOVA CHAMADA)+ self._po_loading()Justificativa: Adicionada espera de carregamento no início do método para tratar mudanças dinâmicas na UI de filtragem
d.
_remove_filters_from_browse()- Linha 5741Justificativa: Consolidado para comportamento padrão por consistência
e.
SetButton()- Linha 5946 (MOVIDO)+ self._po_loading()Justificativa: Movida espera de carregamento para ponto de entrada do método; agora aguarda antes da interação com botão
3. Aprimoramento da Documentação
Adicionada docstring abrangente com:
[Internal]para clarezaExemplos de Uso:
Recomendações de Teste
_po_loading()sem seletor em páginas com po-loading